Do not show the label for auto subtypes
Change-Id: Ie62d0b83f2fcb2c93d3935bcaa5121d2adc56b7d
This commit is contained in:
@@ -2100,8 +2100,10 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
// We show all enabled IMEs and subtypes when an IME is shown.
|
||||
if (enabledSubtypeSet.contains(subtypeHashCode)
|
||||
&& ((mInputShown && !isScreenLocked) || !subtype.isAuxiliary())) {
|
||||
final CharSequence subtypeLabel = subtype.getDisplayName(context,
|
||||
imi.getPackageName(), imi.getServiceInfo().applicationInfo);
|
||||
final CharSequence subtypeLabel =
|
||||
subtype.overridesImplicitlyEnabledSubtype() ? null
|
||||
: subtype.getDisplayName(context, imi.getPackageName(),
|
||||
imi.getServiceInfo().applicationInfo);
|
||||
imList.add(new ImeSubtypeListItem(imeLabel, subtypeLabel, imi, j));
|
||||
|
||||
// Removing this subtype from enabledSubtypeSet because we no longer
|
||||
|
||||
Reference in New Issue
Block a user