commit | 8cbfc1846671c5bb1628de2ca42b6ca782fa8511 | [log] [tgz] |
---|---|---|
author | Arnd Geis <arndg@google.com> | Thu Sep 07 14:46:41 2017 -0700 |
committer | Arnd Geis <arndg@google.com> | Thu Sep 07 15:59:31 2017 -0700 |
tree | 9ac0a5a306785e60fbce5f6485e94f0a858ec100 | |
parent | 31be5768327563b3f8b39c9ef0c95bed84b0f6fb [diff] |
QCamera3: avoid race condition in getEaselFwVersion Moved firmware version extraction to onOpened after easel is booted and the firmware version is guaranteed to be correct. This way a possible race condition for the mutex lock over gHdrPlusClientLock from consecutive frame captures is averted. Bug: 65458066 Change-Id: Ie7124ad008e1513cba5f60942df087e6d81396f3 Signed-off-by: Arnd Geis <arndg@google.com>