diff options
| author | Ken Wakasa <kwakasa@google.com> | 2011-02-16 11:55:23 +0900 |
|---|---|---|
| committer | Ken Wakasa <kwakasa@google.com> | 2011-02-16 11:55:23 +0900 |
| commit | a5e9ffa35ce84633cedfca769787873f62bd4622 (patch) | |
| tree | 918b0f0a0d79e392ba3239ef451090f3053f4431 /services/java/com/android/server/InputMethodManagerService.java | |
| parent | 32c3b81bbce40ac618ede3e3d6fb96432e1a3241 (diff) | |
Fix a bug in canAddToLastInputMethod()
bug: 3456057
Change-Id: I977e984aafb36fdb83ac05d19fe0c7324a36d0c5
Diffstat (limited to 'services/java/com/android/server/InputMethodManagerService.java')
| -rw-r--r-- | services/java/com/android/server/InputMethodManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index ba0f31b92250..51e9b0077b59 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -1949,7 +1949,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub private boolean canAddToLastInputMethod(InputMethodSubtype subtype) { if (subtype == null) return true; - return subtype.containsExtraValueKey(SUBTYPE_EXTRAVALUE_EXCLUDE_FROM_LAST_IME); + return !subtype.containsExtraValueKey(SUBTYPE_EXTRAVALUE_EXCLUDE_FROM_LAST_IME); } private void saveCurrentInputMethodAndSubtypeToHistory() { |
