commit | 830cc17a07621f352196304b1a72dc95f4bf8e65 | [log] [tgz] |
---|---|---|
author | Danny Epstein <depstein@google.com> | Thu Sep 24 20:47:15 2020 -0700 |
committer | Danny Epstein <depstein@google.com> | Fri Sep 25 12:08:57 2020 -0700 |
tree | 810be36f7837185ab68ae3874bbb0314484dca4e | |
parent | 9ab1db063580a57629d361e624eb2f72ca3f9217 [diff] |
Improve reliability of focus clearing Refresh the FocusParkingView before checking if it's focused. Test: manul Bug: 169380864 Change-Id: I1decc4edf118426aa72f28c743ed3d597bc97269
make CarRotaryController -j64
To enable, run:
adb shell settings put secure enabled_accessibility_services com.android.car.rotary/com.android.car.rotary.RotaryService
To disable, run:
adb shell settings delete secure enabled_accessibility_services
To rotate the controller counter-clockwise, run:
adb shell cmd car_service inject-rotary
For clockwise, run:
adb shell cmd car_service inject-rotary -c true
To rotate the controller multiple times (100 ms ago and 50 ms ago), run:
adb shell cmd car_service inject-rotary -dt 100 50
To nudge the controller up, run:
adb shell cmd car_service inject-key 280
Use KeyCode 280
for nudge up, 281
for nudge down,282
for nudge left,283
for nudge right.
To click the controller center button, run:
adb shell cmd car_service inject-key 23