Should not try IMS or EMERGENCY APN for initial-attach.
This helps to avoid the problem where the auto-generated IMS or EMERGENCY APN being used for initial-attach due to racing conditions. Some carriers may require IMS APN for initial-attach. That case, the IA type should have been added to the APN explicitly to prevent the DEFAULT APN from being used. Bug: 186120396 Test: manual Change-Id: Ic5e449e514a996f90b815e56fe136ac1f453496e Merged-In: Ic5e449e514a996f90b815e56fe136ac1f453496e
This commit is contained in:
@@ -4960,7 +4960,7 @@ public class CarrierConfigManager {
|
||||
sDefaults.putBoolean(KEY_NETWORK_TEMP_NOT_METERED_SUPPORTED_BOOL, false);
|
||||
sDefaults.putInt(KEY_DEFAULT_RTT_MODE_INT, 0);
|
||||
sDefaults.putStringArray(KEY_ALLOWED_INITIAL_ATTACH_APN_TYPES_STRING_ARRAY,
|
||||
new String[]{"ia", "default", "ims", "mms", "dun", "emergency"});
|
||||
new String[]{"ia", "default", "mms", "dun"});
|
||||
sDefaults.putBoolean(KEY_STORE_SIM_PIN_FOR_UNATTENDED_REBOOT_BOOL, true);
|
||||
sDefaults.putBoolean(KEY_HIDE_ENABLE_2G, false);
|
||||
sDefaults.putBoolean(KEY_DISPLAY_NO_DATA_NOTIFICATION_ON_PERMANENT_FAILURE_BOOL, false);
|
||||
|
||||
Reference in New Issue
Block a user