From ac0244e57238488962e2a09edbc34a597236e2da Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Mon, 8 Apr 2019 14:22:40 -0700 Subject: [PATCH] Treat mcx apn type as not wild-cardable. Test: manual Bug: 130167974 Merged-in: Ic3e643646491e5a187505fd54ca767ad91e285f5 Change-Id: Ic3e643646491e5a187505fd54ca767ad91e285f5 (cherry picked from commit 2fa0b7ed85a441e7db353d0afe15ae9a52ec68a6) --- src/com/android/settings/network/ApnEditor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/settings/network/ApnEditor.java b/src/com/android/settings/network/ApnEditor.java index 0cc88b340e6..7413626daed 100644 --- a/src/com/android/settings/network/ApnEditor.java +++ b/src/com/android/settings/network/ApnEditor.java @@ -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 {