diff options
| author | 2023-02-21 17:42:44 +0000 | |
|---|---|---|
| committer | 2023-03-06 09:56:56 +0000 | |
| commit | 3fb8aa6375786a96293a309185c59b900897c8e1 (patch) | |
| tree | 1239254a720c5b71ee5e652b227b1de84f7c9b8f /libs/androidfw/FileStream.cpp | |
| parent | 1dd100693a7697ff09107837d4ad02f8c6566a80 (diff) | |
Fix keyboard not configured properly
The native callback getKeyboardLayoutOverlay() occurs before
device added, we don't set layout properly, then call reload layouts
on device added that will force native callback again.
Long term solution: Include all necessary information for auto-
detection of layout in InputDeviceIdentifier so that we don't need
to wait for onInputDeviceAdded() to auto-select layout.
InputDeviceIdentifier is sent with the native callback as parameter
so we don't need to rely on getInputDevice() method to get the
necessary information for auto-detection.
Test: manual
Bug: 259530132
Change-Id: I941bb8544cee8fee736e9cedcff10030361e45c9
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions