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

Commit 4d22ff37 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

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

Change-Id: I65ae8da429a12380143ffc18281e6c58f2be770d
parents 11ea0f2e bd970d02
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2404,6 +2404,7 @@ void SurfaceFlinger::postComposition() {
    mTimeStats->recordDisplayEventConnectionCount(sfConnections + appConnections);

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