commit | 4184a7dda9e6d3318b5563926fa59722beef9522 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Mon Dec 21 17:11:37 2020 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Jan 05 09:10:35 2021 -0800 |
tree | 9cf35f0483d7aafed6b2010637fd51aa46adbae8 | |
parent | 6bb359e9d72d6ba6334cd549cceadc78e251867d [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