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
1 file changed
tree: 73ad5bc6d88b235e6b493447eee6f8ba3d5665cb
  1. common/
  2. devices/
  3. .clang-format
  4. Android.bp
  5. METADATA
  6. OWNERS
  7. PREUPLOAD.cfg