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

Commit 13fac485 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Don't start data-stall checks if not connected" into jb-dev

parents af1c1b3b 33961892
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1695,6 +1695,7 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {


    @Override
    @Override
    protected void restartDataStallAlarm() {
    protected void restartDataStallAlarm() {
        if (isConnected() == false) return;
        // To be called on screen status change.
        // To be called on screen status change.
        // Do not cancel the alarm if it is set with aggressive timeout.
        // Do not cancel the alarm if it is set with aggressive timeout.
        int nextAction = getRecoveryAction();
        int nextAction = getRecoveryAction();