From 1cda6eb17600efaed70670d483bd3584ee6bcc8c Mon Sep 17 00:00:00 2001 From: satok Date: Mon, 4 Jul 2011 16:27:03 +0900 Subject: [PATCH] Fixed a visibility of a shortcut button Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588 --- java/src/com/android/inputmethod/latin/SubtypeSwitcher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/SubtypeSwitcher.java b/java/src/com/android/inputmethod/latin/SubtypeSwitcher.java index 6ca12c0c5..8fc19ae87 100644 --- a/java/src/com/android/inputmethod/latin/SubtypeSwitcher.java +++ b/java/src/com/android/inputmethod/latin/SubtypeSwitcher.java @@ -188,6 +188,8 @@ public class SubtypeSwitcher { // TODO: Update an icon for shortcut IME final Map> shortcuts = mImm.getShortcutInputMethodsAndSubtypes(); + mShortcutInputMethodInfo = null; + mShortcutSubtype = null; for (InputMethodInfoCompatWrapper imi : shortcuts.keySet()) { List subtypes = shortcuts.get(imi); // TODO: Returns the first found IMI for now. Should handle all shortcuts as