Merge "Fix keyboard not configured properly" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
26043b2920
@@ -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