diff options
author | Satoshi Kataoka <satok@google.com> | 2013-01-18 07:03:31 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-01-18 07:03:32 +0000 |
commit | 2d43bf6ba587e1754828b72371832eb89cbdf13b (patch) | |
tree | a3e09587678e9916637848da864b803b6bfcaf58 /services/java/com/android/server/InputMethodManagerService.java | |
parent | 5a0252da779a98b98c0ef5053c2d20b7bd66de34 (diff) | |
parent | 04dd24d4baf7f78e7b47c9f91e82dfb44fd48190 (diff) |
Merge "Ensure that the input method dialog is dismissed when changing the hardware keyboard state."
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 2f121124eeeb..593b9bf99920 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -2554,6 +2554,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(); } }); |