File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/SystemUI/src/com/android/systemui/statusbar/tablet Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -218,8 +218,12 @@ private void showConfigureInputMethods() {
218218
219219 private View createInputMethodItem (
220220 final InputMethodInfo imi , final InputMethodSubtype subtype ) {
221- final CharSequence subtypeName = subtype .overridesImplicitlyEnabledSubtype ()
222- ? null : getSubtypeName (imi , subtype );
221+ final CharSequence subtypeName ;
222+ if (subtype == null || subtype .overridesImplicitlyEnabledSubtype ()) {
223+ subtypeName = null ;
224+ } else {
225+ subtypeName = getSubtypeName (imi , subtype );
226+ }
223227 final CharSequence imiName = getIMIName (imi );
224228 final Drawable icon = getSubtypeIcon (imi , subtype );
225229 final View view = View .inflate (mContext , R .layout .status_bar_input_methods_item , null );
You can’t perform that action at this time.
0 commit comments