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

Commit 540861c9 authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android Git Automerger
Browse files

am 2dfd8d57: Merge "Update config when "Show input method" is changed" into lmp-dev

* commit '2dfd8d57':
  Update config when "Show input method" is changed
parents 8ca4886e 2dfd8d57
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -7226,11 +7226,14 @@ public class WindowManagerService extends IWindowManager.Stub
    }

    public void updateShowImeWithHardKeyboard() {
        boolean showImeWithHardKeyboard = Settings.Secure.getIntForUser(
        final boolean showImeWithHardKeyboard = Settings.Secure.getIntForUser(
                mContext.getContentResolver(), Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD, 0,
                mCurrentUserId) == 1;
        synchronized (mWindowMap) {
            if (mShowImeWithHardKeyboard != showImeWithHardKeyboard) {
                mShowImeWithHardKeyboard = showImeWithHardKeyboard;
                mH.sendEmptyMessage(H.SEND_NEW_CONFIGURATION);
            }
        }
    }