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

Commit ab9223b0 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by The Android Automerger
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 ab8e64d0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15305,8 +15305,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;