diff options
| author | 2023-03-06 12:06:46 +0000 | |
|---|---|---|
| committer | 2023-03-06 12:06:46 +0000 | |
| commit | 26043b29204494a8f6dd4dd507f4e0187390502c (patch) | |
| tree | d6eeee6859bd8a94688be3b700130bef519af672 | |
| parent | 370a76b2a2d0349d73345a0ff1a68d275f35a21c (diff) | |
| parent | 3fb8aa6375786a96293a309185c59b900897c8e1 (diff) | |
Merge "Fix keyboard not configured properly" into udc-dev
| -rw-r--r-- | services/core/java/com/android/server/input/KeyboardLayoutManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/input/KeyboardLayoutManager.java b/services/core/java/com/android/server/input/KeyboardLayoutManager.java index c1c8af2fd9e0..088740e83c42 100644 --- a/services/core/java/com/android/server/input/KeyboardLayoutManager.java +++ b/services/core/java/com/android/server/input/KeyboardLayoutManager.java @@ -150,6 +150,10 @@ final class KeyboardLayoutManager implements InputManager.InputDeviceListener { @Override public void onInputDeviceAdded(int deviceId) { onInputDeviceChanged(deviceId); + if (useNewSettingsUi()) { + // Force native callback to set up keyboard layout overlay for newly added keyboards + reloadKeyboardLayouts(); + } } @Override |