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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user