From fcb87369b17c69923b80b58e6ea9f6c9d7bc8c74 Mon Sep 17 00:00:00 2001 From: Junu Kim Date: Wed, 19 Feb 2014 16:25:21 +0900 Subject: A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one. Change-Id: I0e42beb550d33e6e400349b85bbb89848e18d520 --- services/java/com/android/server/am/ActiveServices.java | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 services/java/com/android/server/am/ActiveServices.java diff --git a/services/java/com/android/server/am/ActiveServices.java b/services/java/com/android/server/am/ActiveServices.java old mode 100644 new mode 100755 index 933247e1f687..e06b8c53a871 --- a/services/java/com/android/server/am/ActiveServices.java +++ b/services/java/com/android/server/am/ActiveServices.java @@ -203,6 +203,7 @@ public final class ActiveServices { Slog.i(TAG, "Waited long enough for: " + r); mStartingBackground.remove(i); N--; + i--; } } while (mDelayedStartList.size() > 0 -- cgit v1.2.3-59-g8ed1b