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

Commit 9f5c62cf authored by Xin Guan's avatar Xin Guan Committed by Android (Google) Code Review
Browse files

Merge "Don't update oom adj if there is no wakefulness change" into udc-dev

parents 4936b6a2 8b149c30
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6984,10 +6984,11 @@ public class ActivityManagerService extends IActivityManager.Stub
                mActivityTaskManager.onScreenAwakeChanged(isAwake);
                mOomAdjProfiler.onWakefulnessChanged(wakefulness);
                mOomAdjuster.onWakefulnessChanged(wakefulness);
            }
                updateOomAdjLocked(OomAdjuster.OOM_ADJ_REASON_UI_VISIBILITY);
            }
        }
    }
    @Override
    public void notifyCleartextNetwork(int uid, byte[] firstPacket) {