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

Commit 25101d28 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am b1beeb4a: am d5776414: make sure to call compositionComplete after taking a screenshot

* commit 'b1beeb4a':
  make sure to call compositionComplete after taking a screenshot
parents 9f13b4f6 b1beeb4a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2720,6 +2720,9 @@ status_t SurfaceFlinger::captureScreenImplLocked(
        }
    }

    // compositionComplete is needed for older driver
    hw->compositionComplete();

    // and finishing things up...
    if (eglSwapBuffers(mEGLDisplay, eglSurface) != EGL_TRUE) {
        ALOGE("captureScreenImplLocked: eglSwapBuffers() failed 0x%4x",