commit | 420036710b6a99c27d73bea9cb9bdf68625cb508 | [log] [tgz] |
---|---|---|
author | Bill Lin <lbill@google.com> | Fri Jul 16 18:46:09 2021 +0800 |
committer | Bill Lin <lbill@google.com> | Fri Jul 16 11:09:57 2021 +0000 |
tree | 124c6ea196c67089c78506ff679486edbb58a2fc | |
parent | 4559e5b9d55ab4c469f711b7cfd19636ec044d5d [diff] |
Fix OHM H/W key shortcut dosn't work appropriately When one-handed mode disabled 1. Turn on the shortcut of the OHM with hold volume keys 2. Hold the volume keys Should trigger one-anded mode Due to S/W & H/W shortcut keys are mapping to different settings S/W : ACCESSIBILITY_BUTTON_TARGETS H/W : ACCESSIBILITY_SHORTCUT_TARGET_SERVICE We should check both status of the them. Bug: 193411296 Test: atest WMShellUnitTests Change-Id: I3994ab89fd6163c283969cc3175877e29b44c67a