commit | d4e30d375014c26e7ece64a2978d2d06d58f294e | [log] [tgz] |
---|---|---|
author | Cheng Gu <gucheng@google.com> | Wed Jul 20 22:32:43 2022 +0000 |
committer | Cheng Gu <gucheng@google.com> | Mon Jul 25 22:20:00 2022 +0000 |
tree | 73ad5bc6d88b235e6b493447eee6f8ba3d5665cb | |
parent | 1ef0944f5b16d877116844634bb75a2499fb6114 [diff] |
realtime_zsl: Return result if a metadata error is notified later This commit fixes a corner case when buffer has arrived OK but a metadata is notified with error. Previously, the buffer would still be blocked in `pending_request` due to `AllDataCollected()` not being met. This commit gives it a chance to call `process_capture_result_()` from `Notify()` if necessary. Bug: 235371520 Test: Framework stress test, CTS Change-Id: I1cf6a401864808a73dc9e87db6d13a27b7746a95