commit | ddb104d382e5432e0b15c1b3ee91ba0eed73d0ec | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Thu Jun 06 16:52:02 2013 -0700 |
committer | Zhijun He <zhijunhe@google.com> | Thu Jun 06 17:32:37 2013 -0700 |
tree | 6c239f6374d54f2292de2a0156879cadac9b58f5 | |
parent | b05eeaedacaff92b6e5ac89f99b0fccdf7643f09 [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