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

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

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

parents 6090e615 9f5c62cf
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) {