Merge "Fix issue #11630188: Still seeing some processes not on LRU list errors" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c85a1143aa
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user