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

Commit 7ae00baa authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix Keyboard Theme update when device orientation changed"

parents 685abcb9 407f8a32
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);