summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/InputMethodManagerService.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-06-29 18:06:25 +0900
committersatok <satok@google.com>2011-06-29 18:37:10 +0900
commit7dca6cd82d0ca7110c09fe66c8eb4205b05e2688 (patch)
treec62cd7e3f120c68ebb5c4b1d960c241b21f11537 /services/java/com/android/server/InputMethodManagerService.java
parent01fa0d7aae1a551e1e7cfb90d2aeaf2fcb3978af (diff)
Show aux ime in the selection dialog if a keyboard is shown.
Bug: 4968819 Change-Id: If4ac4549f179637fe3ecd313edcb44d5eb89349f
Diffstat (limited to 'services/java/com/android/server/InputMethodManagerService.java')
-rw-r--r--services/java/com/android/server/InputMethodManagerService.java3
1 files changed, 2 insertions, 1 deletions
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();