Merge "Treat mcx apn type as not wild-cardable."

This commit is contained in:
Amit Mahajan
2019-04-10 00:08:43 +00:00
committed by Gerrit Code Review

View File

@@ -1159,7 +1159,8 @@ public class ApnEditor extends SettingsPreferenceFragment
// add APN type if it is not read-only and is not wild-cardable
if (!readOnlyApnTypes.contains(apnType)
&& !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) {
first = false;
} else {