commit | 69a374897392c8bd70f441b7284f6f578c651ec9 | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Sun Mar 23 18:44:49 2014 -0700 |
committer | Zhijun He <zhijunhe@google.com> | Sun Mar 23 18:44:49 2014 -0700 |
tree | de179831b224e28e6693430e80e3299f35c874bf | |
parent | 2f5d0b32a8c5fcb03e4b0d55c53ff540052b5374 [diff] |
Camera3: Fix flush call deadlock Flush shouldn't call waitUntilDrained directly, as they are all API calls with mLock and mInterfaceLock held. Move the waitUntilDrained implementation into waitUntilDrainedLocked to solve this issue. Change-Id: Id7d931091d5c11e12204790841097433515446db