commit | efff1c4ba2bf195d97de2fd5718b708e4b942901 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Fri Aug 28 16:27:27 2015 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Fri Aug 28 16:27:27 2015 -0700 |
tree | 80bd9df579b10a5bb5083383952178b9113e46eb | |
parent | 0b4543149bd5afa2e9ffc26baa9f472349bea201 [diff] |
Camera3Device: Don't hold mutex during HAL device close. The HAL device shutdown will likely need to wait on various events and queues to drain, and holding the mutex will prevent, for example, error notifications from being processed. This can lead to deadlocks. Bug: 23501571 Change-Id: I873ac23ef30545adf533e7839445448573ab5048