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

Commit 8063c997 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

am: ba4b617a

Change-Id: I6e6a75d82668ab8b472185abfc2df8b7f133e127
parents 58bffb24 ba4b617a
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);
        }