Treat mcx apn type as not wild-cardable.

Test: manual
Bug: 130167974
Change-Id: Ic3e643646491e5a187505fd54ca767ad91e285f5
This commit is contained in:
Amit Mahajan
2019-04-08 14:22:40 -07:00
parent 44427259e8
commit 2fa0b7ed85

View File

@@ -1164,7 +1164,8 @@ public class ApnEditor extends SettingsPreferenceFragment
// add APN type if it is not read-only and is not wild-cardable // add APN type if it is not read-only and is not wild-cardable
if (!readOnlyApnTypes.contains(apnType) if (!readOnlyApnTypes.contains(apnType)
&& !apnType.equals(PhoneConstants.APN_TYPE_IA) && !apnType.equals(PhoneConstants.APN_TYPE_IA)
&& !apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY)) { && !apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY)
&& !apnType.equals(PhoneConstants.APN_TYPE_MCX)) {
if (first) { if (first) {
first = false; first = false;
} else { } else {