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

Commit f9bd2413 authored by Ady Abraham's avatar Ady Abraham
Browse files

SF: disable frame rate override by default

Bug: 176940105
Test: atest FrameRateOverrideHostTest
Change-Id: I576821aafb161fe41abbc778c0635eae77e5f37c
parent 81a9915e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2980,7 +2980,7 @@ void SurfaceFlinger::initScheduler(const DisplayDeviceState& displayState) {
    mRefreshRateConfigs = std::make_unique<
            scheduler::RefreshRateConfigs>(displayState.physical->supportedModes,
                                           displayState.physical->activeMode->getId(),
                                           android::sysprop::enable_frame_rate_override(true));
                                           android::sysprop::enable_frame_rate_override(false));
    const auto currRefreshRate = displayState.physical->activeMode->getFps();
    mRefreshRateStats = std::make_unique<scheduler::RefreshRateStats>(*mTimeStats, currRefreshRate,
                                                                      hal::PowerMode::OFF);