commit | a7779bf6623c1bc48a33e3e7d926884d6675f94a | [log] [tgz] |
---|---|---|
author | Vaibhav Devmurari <vdevmurari@google.com> | Mon Oct 10 16:50:16 2022 +0000 |
committer | Vaibhav Devmurari <vdevmurari@google.com> | Tue Dec 06 16:55:58 2022 +0000 |
tree | 47d22c148cf88e992a9f9decba10116935372525 | |
parent | 91618c202d990ca0359a37f675ed0eeb676a4ad6 [diff] |
Add internal APIs to support modifier key remapping Add support for remapping 4 modifier keys: Ctrl, Meta, Alt and Shift to one another. Use new addKeyRemapping native API to add key remappings for supported modifier keys. Explicitly define supported modifier keys to prevent misuse to remap other Android key codes. Test: atest KeyboardLayoutChangeTest Bug: 252812993 Change-Id: I6d03b7dba37b9ec9cef3dca98f7081ef0a378447