From 7dca6cd82d0ca7110c09fe66c8eb4205b05e2688 Mon Sep 17 00:00:00 2001 From: satok Date: Wed, 29 Jun 2011 18:06:25 +0900 Subject: Show aux ime in the selection dialog if a keyboard is shown. Bug: 4968819 Change-Id: If4ac4549f179637fe3ecd313edcb44d5eb89349f --- services/java/com/android/server/InputMethodManagerService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'services/java/com/android/server/InputMethodManagerService.java') diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index b03bd4d28df0..9ffe7f99ae27 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -2025,8 +2025,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub final int subtypeCount = imi.getSubtypeCount(); for (int j = 0; j < subtypeCount; ++j) { InputMethodSubtype subtype = imi.getSubtypeAt(j); + // We show all possible IMEs and subtypes when an IME is shown. if (enabledSubtypeSet.contains(String.valueOf(subtype.hashCode())) - && !subtype.isAuxiliary()) { + && (mInputShown || !subtype.isAuxiliary())) { final CharSequence title; int nameResId = subtype.getNameResId(); String mode = subtype.getMode(); -- cgit v1.2.3