Enable skipping validation by default.
Set KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG to 24 hours to enable validation skipping if network is validated in the last 24 hours. Bug: 140070796 Test: unittest Change-Id: I07b087d731ed1661e5b0c51407ea3003769a3fd9
This commit is contained in:
@@ -36,6 +36,8 @@ import android.telephony.ims.ImsReasonInfo;
|
|||||||
import com.android.internal.telephony.ICarrierConfigLoader;
|
import com.android.internal.telephony.ICarrierConfigLoader;
|
||||||
import com.android.telephony.Rlog;
|
import com.android.telephony.Rlog;
|
||||||
|
|
||||||
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides access to telephony configuration values that are carrier-specific.
|
* Provides access to telephony configuration values that are carrier-specific.
|
||||||
*/
|
*/
|
||||||
@@ -4007,7 +4009,7 @@ public class CarrierConfigManager {
|
|||||||
sDefaults.putAll(Wifi.getDefaults());
|
sDefaults.putAll(Wifi.getDefaults());
|
||||||
sDefaults.putBoolean(ENABLE_EAP_METHOD_PREFIX_BOOL, false);
|
sDefaults.putBoolean(ENABLE_EAP_METHOD_PREFIX_BOOL, false);
|
||||||
sDefaults.putBoolean(KEY_SHOW_FORWARDED_NUMBER_BOOL, false);
|
sDefaults.putBoolean(KEY_SHOW_FORWARDED_NUMBER_BOOL, false);
|
||||||
sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG, 0);
|
sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG, TimeUnit.DAYS.toMillis(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user