Fixed a visibility of a shortcut button

Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588
main
satok 2011-07-04 16:27:03 +09:00
parent c190da0e02
commit 1cda6eb176
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ public class SubtypeSwitcher {
// TODO: Update an icon for shortcut IME
final Map<InputMethodInfoCompatWrapper, List<InputMethodSubtypeCompatWrapper>> shortcuts =
mImm.getShortcutInputMethodsAndSubtypes();
mShortcutInputMethodInfo = null;
mShortcutSubtype = null;
for (InputMethodInfoCompatWrapper imi : shortcuts.keySet()) {
List<InputMethodSubtypeCompatWrapper> subtypes = shortcuts.get(imi);
// TODO: Returns the first found IMI for now. Should handle all shortcuts as