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

Commit 2482ac1b authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Do not compact animating persistent process"

parents 4b097973 ad3ea991
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2491,6 +2491,7 @@ public class OomAdjuster {
                mCachedAppOptimizer.onOomAdjustChanged(state.getSetAdj(), state.getCurAdj(), app);
            } else if (mService.mWakefulness.get() != PowerManagerInternal.WAKEFULNESS_AWAKE
                    && state.getSetAdj() < ProcessList.FOREGROUND_APP_ADJ
                    && !state.isRunningRemoteAnimation()
                    // Because these can fire independent of oom_adj/procstate changes, we need
                    // to throttle the actual dispatch of these requests in addition to the
                    // processing of the requests. As a result, there is throttling both here