Loading services/core/java/com/android/server/wm/WindowManagerService.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -7226,11 +7226,14 @@ public class WindowManagerService extends IWindowManager.Stub } } public void updateShowImeWithHardKeyboard() { public void updateShowImeWithHardKeyboard() { boolean showImeWithHardKeyboard = Settings.Secure.getIntForUser( final boolean showImeWithHardKeyboard = Settings.Secure.getIntForUser( mContext.getContentResolver(), Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD, 0, mContext.getContentResolver(), Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD, 0, mCurrentUserId) == 1; mCurrentUserId) == 1; synchronized (mWindowMap) { synchronized (mWindowMap) { if (mShowImeWithHardKeyboard != showImeWithHardKeyboard) { mShowImeWithHardKeyboard = showImeWithHardKeyboard; mShowImeWithHardKeyboard = showImeWithHardKeyboard; mH.sendEmptyMessage(H.SEND_NEW_CONFIGURATION); } } } } } Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -7226,11 +7226,14 @@ public class WindowManagerService extends IWindowManager.Stub } } public void updateShowImeWithHardKeyboard() { public void updateShowImeWithHardKeyboard() { boolean showImeWithHardKeyboard = Settings.Secure.getIntForUser( final boolean showImeWithHardKeyboard = Settings.Secure.getIntForUser( mContext.getContentResolver(), Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD, 0, mContext.getContentResolver(), Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD, 0, mCurrentUserId) == 1; mCurrentUserId) == 1; synchronized (mWindowMap) { synchronized (mWindowMap) { if (mShowImeWithHardKeyboard != showImeWithHardKeyboard) { mShowImeWithHardKeyboard = showImeWithHardKeyboard; mShowImeWithHardKeyboard = showImeWithHardKeyboard; mH.sendEmptyMessage(H.SEND_NEW_CONFIGURATION); } } } } } Loading