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

Commit bd970d02 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

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

Change-Id: I86f3d6e81b285e4c79866cd14f04845df1d0e357
parents b737c9e0 5cc75e34
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2410,6 +2410,7 @@ void SurfaceFlinger::postComposition() {
    mTimeStats->recordDisplayEventConnectionCount(sfConnections + appConnections);

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