Disable DUN APN while roaming for certain carriers am: db897af77d am: 803eecff35

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11988449

Change-Id: I436582e62c190aef67b8ffee31e044b29afcb4fd
This commit is contained in:
Jack Yu
2020-06-25 01:26:36 +00:00
committed by Automerger Merge Worker

View File

@@ -3852,6 +3852,15 @@ public class CarrierConfigManager {
public static final String KEY_MISSED_INCOMING_CALL_SMS_PATTERN_STRING_ARRAY =
"missed_incoming_call_sms_pattern_string_array";
/**
* Indicating whether DUN APN should be disabled when the device is roaming. In that case,
* the default APN (i.e. internet) will be used for tethering.
*
* @hide
*/
public static final String KEY_DISABLE_DUN_APN_WHILE_ROAMING =
"disable_dun_apn_while_roaming";
/** The default value for every variable. */
private final static PersistableBundle sDefaults;
@@ -4386,6 +4395,7 @@ public class CarrierConfigManager {
"ims:2", "cbs:2", "ia:2", "emergency:2", "mcx:3", "xcap:3"
});
sDefaults.putStringArray(KEY_MISSED_INCOMING_CALL_SMS_PATTERN_STRING_ARRAY, new String[0]);
sDefaults.putBoolean(KEY_DISABLE_DUN_APN_WHILE_ROAMING, false);
}
/**