Fix issue #14492403: Oom scores appear to be incorrect...

...and causing runtime restarts

Got a little too aggressive with the delete key.  *blush*

Change-Id: Icd4637827424211abc2347f7f9407c2d4c95cfad
This commit is contained in:
Dianne Hackborn
2014-05-02 13:21:16 -07:00
parent 5b8b920022
commit 5d84bce122

View File

@@ -15186,8 +15186,8 @@ public final class ActivityManagerService extends ActivityManagerNative
// it when computing the final cached adj later. Note that we don't need to
// worry about this for max adj above, since max adj will always be used to
// keep it out of the cached vaues.
adj = app.modifyRawOomAdj(adj);
app.curAdj = app.modifyRawOomAdj(adj);
app.curSchedGroup = schedGroup;
app.curProcState = procState;
app.foregroundActivities = foregroundActivities;