diff --git a/services/java/com/android/server/am/ActiveServices.java b/services/java/com/android/server/am/ActiveServices.java index b4d9da012845d..b75eab4e02b32 100644 --- a/services/java/com/android/server/am/ActiveServices.java +++ b/services/java/com/android/server/am/ActiveServices.java @@ -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); } }