diff options
| author | 2020-02-20 00:40:11 +0000 | |
|---|---|---|
| committer | 2020-02-20 00:40:11 +0000 | |
| commit | 7c0d8c3d4931aa82c374eb43b2c048d0e5ed46c3 (patch) | |
| tree | c195f57209bd014fd4adadf48dbd6122de825bef | |
| parent | 40e124cac986d578bd63563c114767eff99e131d (diff) | |
| parent | 0d3a5aa2aa16fb469a6f10042e53c6dc61c09437 (diff) | |
Merge "Add carrier config to skip validation if recently validate." into qt-qpr1-dev
| -rw-r--r-- | telephony/java/android/telephony/CarrierConfigManager.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index 1994ccc74b74..81042f4a34bf 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -3151,6 +3151,25 @@ public class CarrierConfigManager { "subscription_group_uuid_string"; /** + * Data switch validation minimal gap time, in milliseconds. + * + * Which means, if the same subscription on the same network (based on MCC+MNC+TAC+subId) + * was recently validated (within this time gap), and Telephony receives a request to switch to + * it again, Telephony will skip the validation part and switch to it as soon as connection + * is setup, as if it's already validated. + * + * If the network was validated within the gap but the latest validation result is false, the + * validation will not be skipped. + * + * If not set or set to 0, validation will never be skipped. + * The max acceptable value of this config is 24 hours. + * + * @hide + */ + public static final String KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG = + "data_switch_validation_min_gap_LONG"; + + /** * A boolean property indicating whether this subscription should be managed as an opportunistic * subscription. * @@ -3628,6 +3647,7 @@ public class CarrierConfigManager { sDefaults.putBoolean(KEY_SUPPORT_WPS_OVER_IMS_BOOL, true); sDefaults.putStringArray(KEY_CARRIER_CERTIFICATE_STRING_ARRAY, null); sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_TIMEOUT_LONG, 2000); + sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG, 0); } /** |