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

Commit 3fc5f4b7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ensure deferred cleanup when display is off" am: 5cc75e34 am: bd970d02 am: 4d22ff37

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1952223

Change-Id: If8a085c2e88386527044eeb0af9ac89fa09258d7
parents f5be7bb7 4d22ff37
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -2412,6 +2412,7 @@ void SurfaceFlinger::postComposition() {
    mTimeStats->recordDisplayEventConnectionCount(sfConnections + appConnections);
    mTimeStats->recordDisplayEventConnectionCount(sfConnections + appConnections);


    if (isDisplayConnected && !display->isPoweredOn()) {
    if (isDisplayConnected && !display->isPoweredOn()) {
        getRenderEngine().cleanupPostRender();
        return;
        return;
    }
    }