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
This commit is contained in:
Dianne Hackborn
2013-09-13 17:01:26 -07:00
parent 28eeb42012
commit 2e46bb5d88

View File

@@ -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);
}
}