diff options
author | Satoshi Kataoka <satok@google.com> | 2013-01-18 13:44:37 +0900 |
---|---|---|
committer | Satoshi Kataoka <satok@google.com> | 2013-01-18 13:44:57 +0900 |
commit | 04dd24d4baf7f78e7b47c9f91e82dfb44fd48190 (patch) | |
tree | d11f738de5c4827820806056fe317634310df887 /services/java/com/android/server/InputMethodManagerService.java | |
parent | b6cf3c02de06dfe2358009e3811055fdef7e10b0 (diff) | |
download | frameworks_base-04dd24d4baf7f78e7b47c9f91e82dfb44fd48190.zip frameworks_base-04dd24d4baf7f78e7b47c9f91e82dfb44fd48190.tar.gz frameworks_base-04dd24d4baf7f78e7b47c9f91e82dfb44fd48190.tar.bz2 |
Ensure that the input method dialog is dismissed when changing the hardware keyboard state.
Change-Id: I51882ecd2b1a12116f43afff7c23454164a6272b
Diffstat (limited to 'services/java/com/android/server/InputMethodManagerService.java')
-rw-r--r-- | services/java/com/android/server/InputMethodManagerService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index 3aa04b3..b950d84 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -2553,6 +2553,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub public void onCheckedChanged( CompoundButton buttonView, boolean isChecked) { mWindowManagerService.setHardKeyboardEnabled(isChecked); + // Ensure that the input method dialog is dismissed when changing + // the hardware keyboard state. + hideInputMethodMenu(); } }); |