commit | acae264d8c65574c8f7c11f9a5ebfadc76c9b4fe | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Mon Dec 21 17:11:37 2020 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Dec 22 14:22:04 2020 -0800 |
tree | 4277414bd2a9d80a07cfe8a60b8059e5883d633f | |
parent | ea8fec6c31d2e45ee2d4c9581a22854168519835 [diff] |
Camera: Fix deadlock in ACameraCaptureSession destructor mSequenceCallbackMap's entry should be cleared before calling onSequenceCompletedCallback. This is to make sure the ACameraCaptureSession object is destroyed in the callback thread. The fix is for a regression introduced in ag/11835321. Test: Camera CTS Bug: 176034707 Change-Id: Ib38f4ca8ec499cd88f31b0be09f1db74e5ec35c6