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

Commit 2e46bb5d authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #10747324: adb install hangs

Dumb typo was clearing the wrong service array, causing
us to sometimes forget we were launching a service.

Change-Id: Ie1aba0e07d19e85a104a5985e3cead5f28a0556a
parent 28eeb420
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -181,8 +181,8 @@ public final class ActiveServices {
                if (DEBUG_DELAYED_STATS) Slog.v(TAG, "No longer background starting: " + r);
                rescheduleDelayedStarts();
            }
            if (mPendingServices.remove(r)) {
                if (DEBUG_DELAYED_STATS) Slog.v(TAG, "No longer pending start: " + r);
            if (mDelayedStartList.remove(r)) {
                if (DEBUG_DELAYED_STATS) Slog.v(TAG, "No longer delaying start: " + r);
            }
        }