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

Commit 0a608f92 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: disable frame rate override by default" into sc-dev

parents a216ecb3 f9bd2413
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2980,7 +2980,7 @@ void SurfaceFlinger::initScheduler(const DisplayDeviceState& displayState) {
    mRefreshRateConfigs = std::make_unique<
    mRefreshRateConfigs = std::make_unique<
            scheduler::RefreshRateConfigs>(displayState.physical->supportedModes,
            scheduler::RefreshRateConfigs>(displayState.physical->supportedModes,
                                           displayState.physical->activeMode->getId(),
                                           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();
    const auto currRefreshRate = displayState.physical->activeMode->getFps();
    mRefreshRateStats = std::make_unique<scheduler::RefreshRateStats>(*mTimeStats, currRefreshRate,
    mRefreshRateStats = std::make_unique<scheduler::RefreshRateStats>(*mTimeStats, currRefreshRate,
                                                                      hal::PowerMode::OFF);
                                                                      hal::PowerMode::OFF);