Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c65d52b1 authored by Kazuhiro Ondo's avatar Kazuhiro Ondo Committed by Wink Saville
Browse files

Make APN re-connect delay configuable

Add configurability on hard coded timer.

Change-Id: Ic9a6ee43d9da3bd45f862aa3a21f05d836b402e3
parent 49572479
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -145,8 +145,10 @@ public abstract class DataConnectionTracker extends Handler {

    public static final String APN_TYPE_KEY = "apnType";

    /** Delay between APN attempts */
    protected static final int APN_DELAY_MILLIS = 5000;
    /** 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);

    // responds to the setInternalDataEnabled call - used internally to turn off data
    // for example during emergency calls