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

Commit e04c75eb authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Use new device identifier to check if a layout has been set." into lmp-dev

parents 1893d9b3 86aaca68
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -697,7 +697,9 @@ public class InputManagerService extends IInputManager.Stub
            synchronized (mDataStore) {
                for (int i = 0; i < numFullKeyboards; i++) {
                    final InputDevice inputDevice = mTempFullKeyboards.get(i);
                    if (mDataStore.getCurrentKeyboardLayout(inputDevice.getDescriptor()) == null) {
                    final String layout =
                            getCurrentKeyboardLayoutForInputDevice(inputDevice.getIdentifier());
                    if (layout == null) {
                        missingLayoutForExternalKeyboard = true;
                        if (i < numFullKeyboardsAdded) {
                            missingLayoutForExternalKeyboardAdded = true;