File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/SystemUI/src/com/android/systemui/statusbar/tablet
services/java/com/android/server Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,9 @@ private boolean needsToShowIMEButtonWhenVisibilityAuto() {
102102 return true ;
103103 } else if (nonAuxCount == 1 && auxCount == 1 ) {
104104 if (nonAuxSubtype != null && auxSubtype != null
105- && nonAuxSubtype .getLocale ().equals (auxSubtype .getLocale ())
105+ && (nonAuxSubtype .getLocale ().equals (auxSubtype .getLocale ())
106+ || auxSubtype .overridesImplicitlyEnabledSubtype ()
107+ || nonAuxSubtype .overridesImplicitlyEnabledSubtype ())
106108 && nonAuxSubtype .containsExtraValueKey (TAG_TRY_SUPPRESSING_IME_SWITCHER )) {
107109 return false ;
108110 }
Original file line number Diff line number Diff line change @@ -1115,7 +1115,9 @@ private boolean needsToShowImeSwitchOngoingNotification() {
11151115 return true ;
11161116 } else if (nonAuxCount == 1 && auxCount == 1 ) {
11171117 if (nonAuxSubtype != null && auxSubtype != null
1118- && nonAuxSubtype .getLocale ().equals (auxSubtype .getLocale ())
1118+ && (nonAuxSubtype .getLocale ().equals (auxSubtype .getLocale ())
1119+ || auxSubtype .overridesImplicitlyEnabledSubtype ()
1120+ || nonAuxSubtype .overridesImplicitlyEnabledSubtype ())
11191121 && nonAuxSubtype .containsExtraValueKey (TAG_TRY_SUPPRESSING_IME_SWITCHER )) {
11201122 return false ;
11211123 }
You can’t perform that action at this time.
0 commit comments