Merge "Update the order in which we apply new proc_state/oom_adj values." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3a68193737
@@ -522,8 +522,6 @@ public final class OomAdjuster {
|
||||
|
||||
computeOomAdjLSP(app, cachedAdj, TOP_APP, doingAll, now, false, true);
|
||||
|
||||
boolean success = applyOomAdjLSP(app, doingAll, now, SystemClock.elapsedRealtime());
|
||||
|
||||
if (uidRec != null) {
|
||||
// After uidRec.reset() above, for UidRecord with multiple processes (ProcessRecord),
|
||||
// we need to apply all ProcessRecord into UidRecord.
|
||||
@@ -540,7 +538,7 @@ public final class OomAdjuster {
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
return applyOomAdjLSP(app, doingAll, now, SystemClock.elapsedRealtime());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user