-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURRENT_GEAR should be GEAR_SELECTION #3
Comments
why do you think so? |
According to VehiclePropertyIds.java, both represent the current gear. As this is just a sample code, it shouldn't matter which one. (Please let me know if you disagree)
|
Test it in the emulator. It's not ;) |
And here's the code for the view (derived from your demo code :-) ):
|
you're right, it doesn't show GEAR_SELECTION. It shows CURRENT_GEAR, which can be changed in Search for (looks like emulator should be updated, as CURRENT_GEAR should show the actual gear value) |
The emulator doesn't allow me driving anyway, as soon as I start "driving" the screen shows a message I am not allowed to use my app while driving :) |
#11 this CL should fix your issue. Please read https://source.android.com/devices/automotive/driver_distraction/guidelines to learn more about UX Restrictions |
Correct me if I'm wrong, but CURRENT_GEAR should be GEAR_SELECTION here:
car-samples/AutomotiveOS/CarGearViewerKotlin/automotive/src/main/java/com/example/cargearviewer/MainActivity.kt
Line 93 in f2a7a8d
The text was updated successfully, but these errors were encountered: