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

Commit bb53b0e4 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

When "show visible regions" is enabled we were missing a call to HWC

Bug: 7204034
Change-Id: I64dd78362fa75149513a7d9ff92dde175e9b4958
parent f68c825c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -792,6 +792,12 @@ void SurfaceFlinger::doDebugFlashRegions()
    if (mDebugRegion > 1) {
        usleep(mDebugRegion * 1000);
    }

    HWComposer& hwc(getHwComposer());
    if (hwc.initCheck() == NO_ERROR) {
        status_t err = hwc.prepare();
        ALOGE_IF(err, "HWComposer::prepare failed (%s)", strerror(-err));
    }
}

void SurfaceFlinger::preComposition()