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

Commit 1d3fc50a authored by Erik Gilling's avatar Erik Gilling Committed by Android (Google) Code Review
Browse files

Merge "surfaceflinger: unlock clients only after flip"

parents 14fdda31 4c0a4a2b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -383,10 +383,10 @@ bool SurfaceFlinger::threadLoop()
        // inform the h/w that we're done compositing
        hw.compositionComplete();

        // release the clients before we flip ('cause flip might block)
        postFramebuffer();

        unlockClients();

        postFramebuffer();
    } else {
        // pretend we did the post
        unlockClients();