Merge "Add carrier config to skip validation if recently validate."
This commit is contained in:
@@ -3348,6 +3348,25 @@ public class CarrierConfigManager {
|
|||||||
public static final String KEY_SUBSCRIPTION_GROUP_UUID_STRING =
|
public static final String KEY_SUBSCRIPTION_GROUP_UUID_STRING =
|
||||||
"subscription_group_uuid_string";
|
"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
|
* A boolean property indicating whether this subscription should be managed as an opportunistic
|
||||||
* subscription.
|
* subscription.
|
||||||
@@ -3916,6 +3935,7 @@ public class CarrierConfigManager {
|
|||||||
sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_TIMEOUT_LONG, 2000);
|
sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_TIMEOUT_LONG, 2000);
|
||||||
sDefaults.putInt(KEY_PARAMETERS_USED_FOR_LTE_SIGNAL_BAR_INT,
|
sDefaults.putInt(KEY_PARAMETERS_USED_FOR_LTE_SIGNAL_BAR_INT,
|
||||||
CellSignalStrengthLte.USE_RSRP);
|
CellSignalStrengthLte.USE_RSRP);
|
||||||
|
sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user