/** Delay between APN attempts.
Note the property override mechanism is there just for testing purpose only. */
protected static final int APN_DELAY_MILLIS =
- SystemProperties.getInt("persist.radio.apn_delay", 5000);
+ SystemProperties.getInt("persist.radio.apn_delay", 20000);
- protected static final int APN_DELAY_MILLIS_RESTART_TRYSETUP_LONG = APN_DELAY_MILLIS * 10;
+ /** Delay After all APNs have been tried and not all had permanent errors */
+ protected static final int APN_DELAY_MILLIS_RESTART_TRYSETUP_SHORT = APN_DELAY_MILLIS;
+
+ /** Delay After all APNs have been tried and all had permanent errors */
++ protected static final int APN_DELAY_MILLIS_RESTART_TRYSETUP_LONG = APN_DELAY_MILLIS * 3;
+
AlarmManager mAlarmManager;
protected Object mDataEnabledLock = new Object();