diff options
| -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); |