workaround to fix screenshot leak on N4
Bug: 8322020 Change-Id: Ie60af0eb431866b8d64b2674ae7bd8b5ee05f5d6
This commit is contained in:
parent
438ca07b6b
commit
2be4e8ff23
@ -2810,6 +2810,9 @@ status_t SurfaceFlinger::captureScreenImplLocked(
|
||||
|
||||
glDeleteTextures(1, &tname);
|
||||
|
||||
DisplayDevice::makeCurrent(mEGLDisplay,
|
||||
getDefaultDisplayDevice(), mEGLContext);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user