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

Commit 69e830dc authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

am 8daec83f: Merge "Delay data reconnection after disconnected." into honeycomb-LTE

* commit '8daec83f':
  Delay data reconnection after disconnected.
parents c1f39396 8daec83f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1618,7 +1618,10 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
            if (apnContext.getPendingAction() == ApnContext.PENDING_ACTION_RECONNECT) {
                apnContext.setPendingAction(ApnContext.PENDING_ACTION_NONE);
            }
            trySetupData(apnContext);
            // Wait a bit before trying the next APN, so that
            // we're not tying up the RIL command channel.
            // This also helps in any external dependency to turn off the context.
            sendMessageDelayed(obtainMessage(EVENT_TRY_SETUP_DATA, apnContext),APN_DELAY_MILLIS);
        }
    }