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

Commit 2be4e8ff authored by Mathias Agopian's avatar Mathias Agopian
Browse files

workaround to fix screenshot leak on N4

Bug: 8322020

Change-Id: Ie60af0eb431866b8d64b2674ae7bd8b5ee05f5d6
parent 438ca07b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2810,6 +2810,9 @@ status_t SurfaceFlinger::captureScreenImplLocked(

    glDeleteTextures(1, &tname);

    DisplayDevice::makeCurrent(mEGLDisplay,
            getDefaultDisplayDevice(), mEGLContext);

    return result;
}