Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eaed646c authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

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
parent 77ea277f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment