diff options
| author | 2010-12-15 13:46:46 +0900 | |
|---|---|---|
| committer | 2010-12-15 13:46:46 +0900 | |
| commit | 07e7279cb45ebc150b55bb7e0882d19c1e71bfbf (patch) | |
| tree | f6f8815e4c79f9b302dfa4266681e8d5fc286929 | |
| parent | 6cb3b52df4f2ec4cc5f361886377657986e9dd19 (diff) | |
Fix the bug that IME switch button is shown when there are two IME is installed but only one IME is enabled.
Bug: 3286682
Change-Id: I6a9c6972c136ca8df85ab2b305d08120c09a4543
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java index aa431bcaa5bc..ddce6bf83b9b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java @@ -162,7 +162,7 @@ public class InputMethodButton extends ImageView { // * There are no explicitly enabled (by the user) subtypes of the IME, or the IME doesn't have // its subtypes at all private boolean needsToShowIMEButton() { - List<InputMethodInfo> imis = mImm.getInputMethodList(); + List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); final int size = imis.size(); return size > 1 || (size == 1 && mImm.getEnabledInputMethodSubtypeList(imis.get(0)).size() > 1); |