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

Commit 683a3bf4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check for null mReadOnlyApnTypes."

parents fd1a02d9 7243db25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1056,7 +1056,7 @@ public class ApnEditor extends SettingsPreferenceFragment
        if (errorMsg == null) {
            // if carrier does not allow editing certain apn types, make sure type does not include
            // those
            if (mReadOnlyApnTypes.length > 0
            if (!ArrayUtils.isEmpty(mReadOnlyApnTypes)
                    && apnTypesMatch(mReadOnlyApnTypes, mApnType.getText())) {
                StringBuilder stringBuilder = new StringBuilder();
                for (String type : mReadOnlyApnTypes) {