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

Commit e4c1dfc8 authored by Rachel Lee's avatar Rachel Lee
Browse files

Set frame rate category LOW to 30.

This makes it easier to manually test. In the future
it will be configured per device.

Bug: 300019131
Test: atest CtsSurfaceControlTestsStaging
Test: atest libsurfaceflinger_unittest

Change-Id: I3136d1a79e808b687cd8f31bd21e8769a8e999f3
parent d90ac11c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1487,7 +1487,7 @@ FpsRange RefreshRateSelector::getFrameRateCategoryRange(FrameRateCategory catego
        case FrameRateCategory::Normal:
            return FpsRange{60_Hz, 90_Hz};
        case FrameRateCategory::Low:
            return FpsRange{30_Hz, 60_Hz};
            return FpsRange{30_Hz, 30_Hz};
        case FrameRateCategory::NoPreference:
        case FrameRateCategory::Default:
            LOG_ALWAYS_FATAL("Should not get fps range for frame rate category: %s",
+1 −1
Original line number Diff line number Diff line
@@ -1568,7 +1568,7 @@ TEST_P(RefreshRateSelectorTest,
            // These layers cannot change mode due to smoothSwitchOnly, and will definitely use
            // active mode (120Hz).
            {FrameRateCategory::NoPreference, true, 120_Hz, kModeId120},
            {FrameRateCategory::Low, true, 40_Hz, kModeId120},
            {FrameRateCategory::Low, true, 120_Hz, kModeId120},
            {FrameRateCategory::Normal, true, 40_Hz, kModeId120},
            {FrameRateCategory::High, true, 120_Hz, kModeId120},
    };