Merge "Fixed a visibility of a shortcut button"
This commit is contained in:
commit
29387a8922
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue