diff options
| author | 2021-08-11 01:38:15 +0000 | |
|---|---|---|
| committer | 2022-01-04 07:08:55 +0000 | |
| commit | 292152573ad9e8b7563e114a8942451be3d58a34 (patch) | |
| tree | 13ef4c42f286bc2dddc6757c38f1e281c216e95d /libs/androidfw/StringPool.cpp | |
| parent | 9278335f3cd7ee9897ad548b16a4a503a7cde1ce (diff) | |
Consuming common key combinations in app priority
Some apps or games could use the combo keys such as holding Ctrl or Alt
to trigger its own shortcut or behavior. To prevent the system shortcut
might be handled before dispatching to the app, we move these keys
handling to 'dispatchUnhandledKey' when the app didn't handle.
This will also fix the corresponding state when the modifier key is
released.
Bug: 156619364
Bug: 213096704
Test: atest AppKeyCombinationsTest
Change-Id: I42770045c61ad6396b27132b8a61d34fc121d77e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions