diff options
| author | 2023-04-11 19:00:58 +0000 | |
|---|---|---|
| committer | 2023-04-20 17:40:52 +0000 | |
| commit | eaed646cb9c86e283ccb1cfa4998fcb8796a3564 (patch) | |
| tree | 250ec4cd202ab5a99c0888d0f245b438be496e30 /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 77ea277fc7e8ccbb6f1a747e9f69070a4cf3601f (diff) | |
Maintain keyboard configuration and reload layouts if changed
Virtual keyboard creation logic involves 2 steps:
- Create a uinput device
- Updating associated layout info
It is possible that when onInputDeviceAdded() occurs layout info is
not correctly set. So, everytime we get onInputDeviceChanged()
callback and onImeInfoChanged() callback there is a possibility that
keyboard layout needs to be reconfigured. So, keep track of current
configuration and call reload() when a new layouts needs to be set.
Test: atest VirtualKeyboardLayoutTest
Bug: 277778640
Change-Id: I998009d394a2103bf5afb37a622094dd771162d8
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions