Fixed a visibility of a shortcut button
Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588main
parent
c190da0e02
commit
1cda6eb176
|
@ -188,6 +188,8 @@ public class SubtypeSwitcher {
|
||||||
// TODO: Update an icon for shortcut IME
|
// TODO: Update an icon for shortcut IME
|
||||||
final Map<InputMethodInfoCompatWrapper, List<InputMethodSubtypeCompatWrapper>> shortcuts =
|
final Map<InputMethodInfoCompatWrapper, List<InputMethodSubtypeCompatWrapper>> shortcuts =
|
||||||
mImm.getShortcutInputMethodsAndSubtypes();
|
mImm.getShortcutInputMethodsAndSubtypes();
|
||||||
|
mShortcutInputMethodInfo = null;
|
||||||
|
mShortcutSubtype = null;
|
||||||
for (InputMethodInfoCompatWrapper imi : shortcuts.keySet()) {
|
for (InputMethodInfoCompatWrapper imi : shortcuts.keySet()) {
|
||||||
List<InputMethodSubtypeCompatWrapper> subtypes = shortcuts.get(imi);
|
List<InputMethodSubtypeCompatWrapper> subtypes = shortcuts.get(imi);
|
||||||
// TODO: Returns the first found IMI for now. Should handle all shortcuts as
|
// TODO: Returns the first found IMI for now. Should handle all shortcuts as
|
||||||
|
|
Loading…
Reference in New Issue