Merge "Skip stopping the BG services for the new processes" into udc-dev
This commit is contained in:
@@ -1482,7 +1482,10 @@ public class OomAdjuster {
|
||||
}
|
||||
if (uidRec.isIdle() && !uidRec.isSetIdle()) {
|
||||
uidChange |= UidRecord.CHANGE_IDLE;
|
||||
becameIdle.add(uidRec);
|
||||
if (uidRec.getSetProcState() != PROCESS_STATE_NONEXISTENT) {
|
||||
// don't stop the bg services if it's just started.
|
||||
becameIdle.add(uidRec);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (uidRec.isIdle()) {
|
||||
|
||||
Reference in New Issue
Block a user