Merge "Only default APN type can make preference selectable." into rvc-qpr-dev am: f76a2ff641
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13672665 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia58c627514657f60dd2401cc7eaed1495d5747ca
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user