diff options
author | Bill Lin <lbill@google.com> | 2021-04-23 15:43:17 +0800 |
---|---|---|
committer | Bill Lin <lbill@google.com> | 2021-05-03 15:04:24 +0800 |
commit | eb9b719bc5d8119cf027165cf88a8954efc96b5b (patch) | |
tree | a976ee8e00c8f5e94cd9f25e3ab29825d80a84a2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e6a20cb2ba81df5a9aaffaefca43cd58d2e4b780 (diff) |
3/ Listen ONE_HANDED_MODE_ACTIVATED for A11y shortcut action
- Observe ONE_HANDED_MODE_ACTIVATED secure settings key
- Skip action when OneHandedState is in transition
1. STATE_ENTERING
2. STATE_EXITING
- Skip action if current OneHandedState = request activate
1. STATE NONE -> Shortcut request ACTIVATED : StartOneHanded
2. STATE_ACTIVE -> Shortcut request non ACTIVATED : StopOneHanded
3. STATE_NONE -> Shortcut request non ACTIVATED : SKip
4. STATE_ACTIVE -> Shortcut request ACTIVATED : Skip
- Controller will update latest state to secure setting
ONE_HANDED_MODE_ACTIVATED either trigger by gesture or shortcut
Test: atest WMShellUnitTests
Test: enable shortcut and click
Bug: 182425480
Change-Id: I03bd2679a5a08801efc9868148adfddef87171f4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions