Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d84bce1 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

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
parent 5b8b9200
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;