diff options
author | Shuzhen Wang <shuzhenwang@google.com> | 2020-05-13 16:01:19 -0700 |
---|---|---|
committer | Shuzhen Wang <shuzhenwang@google.com> | 2020-06-04 18:28:44 -0700 |
commit | db97350aa110c2fc888de04d9c3c98c1994e368f (patch) | |
tree | 5f1cfd737b08bbb5a404f3db90b8558b00618839 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | a38a553c1617312433a9c0e27fdaafee27e3a359 (diff) |
Camera: Fix race for onCaptureBufferLost callback
The callback holder was removed when the capture sequence is
completed, which is too soon because the buffer loss callback could
potentially arrives later than the capture sequence completion.
Defer the deletion of the callback holder to when the native inflight
request is removed, which takes into consideration of error
notifications.
Test: Camera CTS
Bug: 155353799
Change-Id: I12b716acc9fbaa9791f0498ac77d4470a7448d5a
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions