commit | 09cf462a265c3e9bc84c518cc75d77a5b1d69012 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Tue May 29 11:17:48 2012 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Tue May 29 11:28:51 2012 -0700 |
tree | 9d3ae70459a1a6bf1aa6d3377e3f6dd1413b055b | |
parent | 6350e21e8947398a94402bc2969d13d407fbc3fb [diff] |
DO NOT MERGE: Minimal fix for takePicture/previewCallback deadlock - Caused by already held lock in camera service - Introduce one more lock, mICameraLock, to control access to camera client through ICamera binder interface. - mLock is released before calling HAL takePicture, allowing HAL callbacks to access camera client during takePicture processing. Bug: 5804701 Change-Id: Ibcef4857a2c844c964afefa70f9cdccdd0a55fd0