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

Commit a6bb29fb authored by Xin Guan's avatar Xin Guan Committed by Automerger Merge Worker
Browse files

Merge "Avoid OOM Adj update for processes with fixed adj." into udc-dev am: 1b3a3c65

parents b8c8c028 1b3a3c65
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -837,7 +837,7 @@ public class OomAdjuster {
     */
     */
    @GuardedBy("mService")
    @GuardedBy("mService")
    void enqueueOomAdjTargetLocked(ProcessRecord app) {
    void enqueueOomAdjTargetLocked(ProcessRecord app) {
        if (app != null) {
        if (app != null && app.mState.getMaxAdj() > FOREGROUND_APP_ADJ) {
            mPendingProcessSet.add(app);
            mPendingProcessSet.add(app);
        }
        }
    }
    }