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

Commit db32303a authored by Ram Indani's avatar Ram Indani Committed by Android (Google) Code Review
Browse files

Merge "[SF] set render rate as peakFps when new display device is added" into main

parents e6655b62 914d106e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3768,7 +3768,7 @@ sp<DisplayDevice> SurfaceFlinger::setupNewDisplayDeviceInternal(
    if (const auto& physical = state.physical) {
        const auto& mode = *physical->activeMode;
        mDisplayModeController.setActiveMode(physical->id, mode.getId(), mode.getVsyncRate(),
                                             mode.getVsyncRate());
                                             mode.getPeakFps());
    }

    display->setLayerFilter(makeLayerFilterForDisplay(display->getId(), state.layerStack));