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

Commit e9067e5d authored by Rachel Lee's avatar Rachel Lee Committed by Android (Google) Code Review
Browse files

Merge "Update test for GTE frame rate compatibility" into main

parents 05b34396 5766136f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -726,7 +726,7 @@ public class GraphicsActivity extends Activity {
                                      .map(Object::toString)
                                      .collect(Collectors.joining(", ")));
            int initialNumEvents = mModeChangedEvents.size();
            surface.setFrameRate(30.f, compatibility);
            surface.setFrameRate(70.f, compatibility);
            verifyFrameRates(expectedFrameRates, surface);
            verifyModeSwitchesDontChangeResolution(initialNumEvents, mModeChangedEvents.size());
        });
@@ -824,7 +824,7 @@ public class GraphicsActivity extends Activity {
        Display display = getDisplay();
        List<Float> expectedFrameRates = getRefreshRates(display.getMode(), display)
                                                 .stream()
                                                 .filter(rate -> rate >= 30.f)
                                                 .filter(rate -> rate >= 70.f)
                                                 .collect(Collectors.toList());

        assumeTrue("**** testSurfaceControlFrameRateCompatibility SKIPPED because no refresh rate "