Fix the visiblity of the ime switcher icon.
Bug: 5288866 Change-Id: I99b4aee36c337b2fab1116e9245ddecd826c840c
This commit is contained in:
@@ -1115,7 +1115,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
return true;
|
||||
} else if (nonAuxCount == 1 && auxCount == 1) {
|
||||
if (nonAuxSubtype != null && auxSubtype != null
|
||||
&& nonAuxSubtype.getLocale().equals(auxSubtype.getLocale())
|
||||
&& (nonAuxSubtype.getLocale().equals(auxSubtype.getLocale())
|
||||
|| auxSubtype.overridesImplicitlyEnabledSubtype()
|
||||
|| nonAuxSubtype.overridesImplicitlyEnabledSubtype())
|
||||
&& nonAuxSubtype.containsExtraValueKey(TAG_TRY_SUPPRESSING_IME_SWITCHER)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user