Merge "Use isolated uid to set oom_score_adj" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d60e2ede49
@@ -21937,7 +21937,7 @@ public class ActivityManagerService extends IActivityManager.Stub
|
||||
int changes = 0;
|
||||
|
||||
if (app.curAdj != app.setAdj) {
|
||||
ProcessList.setOomAdj(app.pid, app.info.uid, app.curAdj);
|
||||
ProcessList.setOomAdj(app.pid, app.uid, app.curAdj);
|
||||
if (DEBUG_SWITCH || DEBUG_OOM_ADJ) Slog.v(TAG_OOM_ADJ,
|
||||
"Set " + app.pid + " " + app.processName + " adj " + app.curAdj + ": "
|
||||
+ app.adjType);
|
||||
|
||||
Reference in New Issue
Block a user