commit | 15ad2470b2f2ac34473eb568b606ad75e8e63ac6 | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Fri Oct 11 16:21:11 2013 -0700 |
committer | Zhijun He <zhijunhe@google.com> | Fri Oct 11 16:48:16 2013 -0700 |
tree | 7b1785a6c1c284fc345e5e1d9722ea87432f8491 | |
parent | d5ed2263a485d6e633fe08f033d04fad75daec6f [diff] |
Camera: Fix deadlock in Camera3OutputStream process capture request thread, process capture result and setParameter binder threads can run into circular locking situation when acquiring StreamingProcessor lock, Camera3Stream lock, and bufferQueue lock. Releasing the Camera3Stream lock briefly in process capture request thread getbuffer call can break this deadlock. Bug: 11016037 Change-Id: If08d4b134c26be26039b1d5363759e60f911bad6