summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Jimmy <jimmyxgong@google.com> 2024-12-05 21:43:40 +0000
committer Jimmy <jimmyxgong@google.com> 2024-12-18 05:26:32 +0000
commitac5f93af863427f46da460b855cd3189c5451b7d (patch)
treeb7d361d21049b5b0dc250c1c2efe0de7f3ac4274 /libs/androidfw/AssetsProvider.cpp
parent8d7d869dc31a0e6d1085cca007e787d185a6b485 (diff)
Remove original modifiers from generated fallback keys
Previously generated fallbacks would preserve the original modifiers, leading to unexpected key events. Example: Ctrl + Space -> Ctrl + language_switch This change removes the modifiers used to trigger the fallback. Example: Ctrl + Space -> language_switch Fallbacks are triggered only with exact matching, so extra modifiers will not output a fallback. Example: Ctrl + Alt + Space -> Ctrl + Alt + Space (no fallback) Bug: 382545048 Test: atest com.android.test.input.KeyCharacterMapTest Flag: com.android.hardware.input.remove_fallback_modifiers Change-Id: I78de4bc131b0c9171a3508ee560135fce6b77e42
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions