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

Commit 130c9313 authored by Rachel Lee's avatar Rachel Lee
Browse files

Set frame rate category LOW to 30 in test.

Value must mirror hardcoded value in the platform.

Bug: 300019131
Test: atest CtsSurfaceControlTestsStaging
Test: atest libsurfaceflinger_unittest

Change-Id: I399db0ebe674ce635e3b87803c8c0a9e049f1fd3
parent 9bb446fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ public class GraphicsActivity extends Activity {
    // TODO(b/293651105): Unhardcode category fps range mapping
    private static final FpsRange FRAME_RATE_CATEGORY_HIGH = new FpsRange(90, 120);
    private static final FpsRange FRAME_RATE_CATEGORY_NORMAL = new FpsRange(60, 90);
    private static final FpsRange FRAME_RATE_CATEGORY_LOW = new FpsRange(30, 60);
    private static final FpsRange FRAME_RATE_CATEGORY_LOW = new FpsRange(30, 30);

    private DisplayManager mDisplayManager;
    private SurfaceView mSurfaceView;