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

Commit 7ab77a1d authored by Patrick Williams's avatar Patrick Williams
Browse files

Propagate display secure state set from updateHdcpLevels

Bug: 417697895
Flag: EXEMPT bugfix
Test: presubmits
Change-Id: I2bd1584fe9c085edc6e66c7d7593fc684a4935a9
parent 187edc86
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8596,6 +8596,7 @@ void SurfaceFlinger::updateHdcpLevels(hal::HWDisplayId hwcDisplayId, int32_t con
        if (const auto display = FTL_FAKE_GUARD(mStateLock, getDisplayDeviceLocked(displayId))) {
            Mutex::Autolock lock(mStateLock);
            display->setSecure(secure);
            setTransactionFlags(eDisplayTransactionNeeded);
        }
        FTL_FAKE_GUARD(kMainThreadContext, mDisplayModeController.setSecure(displayId, secure));
        mScheduler->onHdcpLevelsChanged(scheduler::Cycle::Render, displayId, connectedLevel,