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

Commit c83524ee authored by Andy Yu's avatar Andy Yu
Browse files

Set mAllowNonNativeRefreshRateOverride to true

We will only send non-native refersh rate override config for
gamedashboard. So we can make sure that SurfaceFlinger sends
the correct override list.

- Set mAllowNonNativeRefreshRateOverride to true by default

Bug: b/218534715, b/222135867
Test: atest DisplayManagerServiceTest
      atest FrameRateOverrideHostTest

Change-Id: Ic9cd4802e221144319e83d79fc422b5c3cb61a86
parent 3fd99e46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2579,7 +2579,7 @@ public final class DisplayManagerService extends SystemService {

        boolean getAllowNonNativeRefreshRateOverride() {
            return DisplayProperties
                    .debug_allow_non_native_refresh_rate_override().orElse(false);
                    .debug_allow_non_native_refresh_rate_override().orElse(true);
        }

        @NonNull