am d5776414
: make sure to call compositionComplete after taking a screenshot
* commit 'd577641411f067c93aabcd2acf7ce06862fb26d3': make sure to call compositionComplete after taking a screenshot
This commit is contained in:
commit
b1beeb4ab9
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user