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

Commit ba4b617a authored by Sudheer Shanka's avatar Sudheer Shanka Committed by android-build-merger
Browse files

Merge "Don't clear restart counter when bringing up the service." into oc-dev

am: 6007cae4

Change-Id: I14996b3e998e918c75223ed4716c35d9f0a436ec
parents 7f986ba8 6007cae4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1728,7 +1728,7 @@ public final class ActiveServices {
            return null;
        }

        if (!whileRestarting && r.restartDelay > 0) {
        if (!whileRestarting && mRestartingServices.contains(r)) {
            // If waiting for a restart, then do nothing.
            return null;
        }
@@ -1740,7 +1740,6 @@ public final class ActiveServices {
        // We are now bringing the service up, so no longer in the
        // restarting state.
        if (mRestartingServices.remove(r)) {
            r.resetRestartCounter();
            clearRestartingIfNeededLocked(r);
        }