Merge "Fix issue #11630188: Still seeing some processes not on LRU list errors" into klp-dev

This commit is contained in:
Dianne Hackborn
2013-11-11 19:31:59 +00:00
committed by Android (Google) Code Review

View File

@@ -1389,6 +1389,7 @@ public final class ActiveServices {
} finally {
if (!created) {
app.services.remove(r);
r.app = null;
scheduleServiceRestartLocked(r, false);
}
}
@@ -1775,6 +1776,7 @@ public final class ActiveServices {
long now = SystemClock.uptimeMillis();
r.tracker.setExecuting(false, memFactor, now);
r.tracker.setBound(false, memFactor, now);
r.tracker.setStarted(false, memFactor, now);
}
serviceDoneExecutingLocked(r, true, true);
}