afe2b1fadd
ANativeWindow::queueBuffer takes ownership of the fence fd passed to it, and will close it before returning. SurfaceFlinger's screenshot code was also closing the syncFd it passed to queueBuffer. Most of the time this meant the second close() silently failed, but in a rare race condition the file descriptor could be reused between the two close()s. Bug: 17946343 Change-Id: Ib74fcb1dce52cc21328059c99b7c4c76f41aa3a5 |
||
---|---|---|
build | ||
cmds | ||
data/etc | ||
include | ||
libs | ||
opengl | ||
services | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE |