diff options
| author | 2023-07-20 19:06:11 +0000 | |
|---|---|---|
| committer | 2023-08-25 12:28:28 +0000 | |
| commit | c16ad205a32d453a61c1e06b6ad336271a662535 (patch) | |
| tree | 4cfcbbf6127932204b01547e4d3983dcdbca83ce /libs/input/PointerController.cpp | |
| parent | cd0178db3a30ec8e64ec222e78922968854c0231 (diff) | |
Handle BACK shortcuts in PWM by injection
Current BACK shortcuts are handled in InputDispatcher and
Meta+`, Meta+Backspace, Meta+Left are converted to KEY_BACK
in InputDispatcher instead of being handled in PWM since BACK is
processed on app side instead of System fully handling it.
This blocks us from handling shortcuts like Meta+Ctrl+Left since
by the time keys reach PWM it is converted to Key_Back+Left and
doesn't get processed. Instead we wil handle everything in PWM now
and try to get similar behavior by injecting KEY_BACK whenever
Back shortcuts are pressed.
Bug: 290473497
Test: atest ShortcutLoggingTests
Test: atest BackShortcutTests
Change-Id: Idc60b303abb9ebfd0142e7686aabc4a39e529c19
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions