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

This commit is contained in:
TreeHugger Robot
2019-04-09 20:18:03 +00:00
committed by Android (Google) Code Review

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
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 {