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

Commit a86eb3d7 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7408822 from f8015171 to tm-release

Change-Id: I90e160fae7dcdb30b7819ad7eecabde7ed4bb723
parents 1625a9d7 f8015171
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -803,7 +803,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        // create new display context and re-init keyboard layout with this context.
        final WindowManager wm = getSystemService(WindowManager.class);
        final int newDisplayId = wm.getDefaultDisplay().getDisplayId();
        if (mCurDisplayId != newDisplayId) {
        if (mCurDisplayId != newDisplayId || !mDisplayContext.getResources().getConfiguration()
                        .equals(getResources().getConfiguration())) {
            mCurDisplayId = newDisplayId;
            mDisplayContext = createDisplayContext(wm.getDefaultDisplay());
            mKeyboardSwitcher.updateKeyboardTheme(mDisplayContext);