This avoids a race where close() can return while there are still onImageAvailable callbacks pending. Bug: 10666923 Change-Id: Ic519b68f3132ceb7f95a9a42ebd1032c1638fbf5
This avoids a race where close() can return while there are still onImageAvailable callbacks pending. Bug: 10666923 Change-Id: Ic519b68f3132ceb7f95a9a42ebd1032c1638fbf5