commit | 98be7e0f1da2d77c502dba5f135476bc6f04c29a | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Thu Jun 06 16:52:02 2013 -0700 |
committer | The Android Automerger <android-build@android.com> | Fri Jun 07 15:17:09 2013 -0700 |
tree | 83afa03df616ff9e0192a94d394551f532b87c69 | |
parent | e10dc92df751d885ec468b8836128796c2039062 [diff] |
camera2/3: Fix deadlock take picture while preview callback Acquiring mInputMutex before SharedParameters mutex in preview callback thread causes circular locking dependency between callback thread and capture callback thread. Enforce the right lock ordering to break the dead lock. Bug: 9323319 Change-Id: Iea2e025e4d9e29debcf74297c19930075017e179