We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4b783f commit e00633eCopy full SHA for e00633e
1 file changed
packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodsPanel.java
@@ -218,8 +218,12 @@ private void showConfigureInputMethods() {
218
219
private View createInputMethodItem(
220
final InputMethodInfo imi, final InputMethodSubtype subtype) {
221
- final CharSequence subtypeName = subtype.overridesImplicitlyEnabledSubtype()
222
- ? null : getSubtypeName(imi, subtype);
+ final CharSequence subtypeName;
+ if (subtype == null || subtype.overridesImplicitlyEnabledSubtype()) {
223
+ subtypeName = null;
224
+ } else {
225
+ subtypeName = getSubtypeName(imi, subtype);
226
+ }
227
final CharSequence imiName = getIMIName(imi);
228
final Drawable icon = getSubtypeIcon(imi, subtype);
229
final View view = View.inflate(mContext, R.layout.status_bar_input_methods_item, null);
0 commit comments