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

Commit 83ffc486 authored by Yashdev Singh's avatar Yashdev Singh Committed by Steve Kondik
Browse files

Telephony: Reduce back to back same APN activation delay.

- The default delay to activate same APN in quick succession is
  20 seconds.
- Some application like embms may want to activate APN quickly
  in short burst. Current 20 seconds would result in artificial
  delays in such applications.
- Hence changing the default delay value to be equivalent of
  fail-fast delay which is 3 seconds.

Change-Id: I792c9697e8ff2d90ec0e9bf2fda8ccf1b3dd9074
parent 4cc7ede0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ public abstract class DcTrackerBase extends Handler {

    /** Delay between APN attempts.
        Note the property override mechanism is there just for testing purpose only. */
    protected static final int APN_DELAY_DEFAULT_MILLIS = 20000;
    protected static final int APN_DELAY_DEFAULT_MILLIS = 3000;

    /** Delay between APN attempts when in fail fast mode */
    protected static final int APN_FAIL_FAST_DELAY_DEFAULT_MILLIS = 3000;