diff options
author | satok <satok@google.com> | 2011-05-20 22:13:38 +0900 |
---|---|---|
committer | satok <satok@google.com> | 2011-05-20 22:13:38 +0900 |
commit | 208d5634047111811de16fb63c43d0bc8b4fe6de (patch) | |
tree | e306112c7842ea605a3b14ee0ecff74002ac0b5e /services/java/com/android/server/InputMethodManagerService.java | |
parent | 4fc87d61c29886c848789208c9e32ba9ac4e5dd3 (diff) | |
download | frameworks_base-208d5634047111811de16fb63c43d0bc8b4fe6de.zip frameworks_base-208d5634047111811de16fb63c43d0bc8b4fe6de.tar.gz frameworks_base-208d5634047111811de16fb63c43d0bc8b4fe6de.tar.bz2 |
Fix a bug on SwitchToLastInputMethod
Change-Id: Iab7531e7436375941ec3df4fba943af24e2f1231
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 eb21434..c365af5 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -1376,7 +1376,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub synchronized (mMethodMap) { final Pair<String, String> lastIme = mSettings.getLastInputMethodAndSubtypeLocked(); final InputMethodInfo lastImi; - if (lastIme == null) { + if (lastIme != null) { lastImi = mMethodMap.get(lastIme.first); } else { lastImi = null; |