Merge "Fix keyboard not configured properly" into udc-dev am: 26043b2920
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21522564 Change-Id: Ice4e2ca752429c39da475b4a27a85758e4f8fb61 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -150,6 +150,10 @@ final class KeyboardLayoutManager implements InputManager.InputDeviceListener {
|
|||||||
@Override
|
@Override
|
||||||
public void onInputDeviceAdded(int deviceId) {
|
public void onInputDeviceAdded(int deviceId) {
|
||||||
onInputDeviceChanged(deviceId);
|
onInputDeviceChanged(deviceId);
|
||||||
|
if (useNewSettingsUi()) {
|
||||||
|
// Force native callback to set up keyboard layout overlay for newly added keyboards
|
||||||
|
reloadKeyboardLayouts();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user