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

Commit 4a94f2d1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Reland] Fix failed MockingOomAdjusterTests when Perceptible Tasks is Enabled" into main

parents 9fdc2d30 832bfbdb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3963,6 +3963,9 @@ public class MockingOomAdjusterTests {
            app.setIsolatedEntryPoint(mIsolatedEntryPoint);
            setFieldValue(ProcessRecord.class, app, "mWindowProcessController",
                    mock(WindowProcessController.class));
            doReturn(Long.MIN_VALUE)
                .when(app.getWindowProcessController())
                .getPerceptibleTaskStoppedTimeMillis();
            profile.setLastPssTime(mLastPssTime);
            profile.setNextPssTime(mNextPssTime);
            profile.setLastPss(mLastPss);