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

Commit e6255611 authored by Steven Thomas's avatar Steven Thomas
Browse files

DO NOT MERGE: Turn refresh rate switching on by default

Bug: 141020755
Test: Booted the device, confirmed we get refresh rate switching by
default.
Change-Id: I631fdcdced2321c33692579063b84cbe3e414fa4
parent c97117b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3003,7 +3003,7 @@ void SurfaceFlinger::initScheduler(DisplayId primaryDisplayId) {

    int currentConfig = getHwComposer().getActiveConfigIndex(primaryDisplayId);
    mRefreshRateConfigs =
            std::make_unique<scheduler::RefreshRateConfigs>(refresh_rate_switching(false),
            std::make_unique<scheduler::RefreshRateConfigs>(refresh_rate_switching(true),
                                                            getHwComposer().getConfigs(
                                                                    primaryDisplayId),
                                                            currentConfig);