commit | 5c4e9f590ee6371b2dc3b63a7640a732d1f011bc | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Thu Jul 27 18:57:26 2017 +0100 |
committer | Emilian Peev <epeev@google.com> | Fri Jul 28 07:58:46 2017 +0100 |
tree | a52d8f4b16ed26d6837792a09eaff9a5b8a317b6 | |
parent | 181c57be5bf99c19ce31e51e56505f6ec7f3947d [diff] |
QCamera2: HAL3: Synchronize access to offline buffers "mOfflineMetaBuffers" and "mOfflineBuffers" can be modified by two threads at the same leading to crashes. To avoid this serialize the access by using an additional mutex. Bug: 64112147 Test: Camera CTS Change-Id: I358a1412e944084d4a54f3cdd9aa4a7eb08e8a95