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

Commit f76a2ff6 authored by Tom Hsu's avatar Tom Hsu Committed by Android (Google) Code Review
Browse files

Merge "Only default APN type can make preference selectable." into rvc-qpr-dev

parents c27fab1d 0361c7b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ public class ApnSettings extends RestrictedSettingsFragment
                    pref.setSummary(apn);
                }

                final boolean selectable = ((type == null) || !type.equals("mms"));
                final boolean selectable = ((type == null) || type.contains("default"));
                pref.setSelectable(selectable);
                if (selectable) {
                    if ((mSelectedKey != null) && mSelectedKey.equals(key)) {