replicant-frameworks_native/services
Jesse Hall afe2b1fadd surfaceflinger: don't close fence fds after passing to queueBuffer
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
2014-10-21 11:11:53 -07:00
..
batteryservice
inputflinger Improve ANR diagnostics. 2014-10-10 19:09:39 -07:00
powermanager Make IPowerManager native conform to .aidl for oneway 2014-09-05 17:12:24 -07:00
sensorservice Add version number to SensorService dump output. 2014-10-19 20:30:58 +00:00
surfaceflinger surfaceflinger: don't close fence fds after passing to queueBuffer 2014-10-21 11:11:53 -07:00