Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e3bb36f authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix NPE in AdditionalSubtypeSettings

Bug: 6384416
Change-Id: I878071b8b78acce51649f9637b59830ab681c696
parent fa1affba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -366,6 +366,7 @@ public class AdditionalSubtypeSettings extends PreferenceFragment {
            final Preference pref = mSubtypePrefGroup.getPreference(i);
            if (pref instanceof SubtypePreference) {
                final InputMethodSubtype subtype = ((SubtypePreference)pref).getSubtype();
                if (subtype == null) continue;
                if (sb.length() > 0) {
                    sb.append(AdditionalSubtype.PREF_SUBTYPE_SEPARATOR);
                }