QCamera2: HAL3: Return depth buffers when their metadata arrives

Valid PD metadata frames could stop arriving for long
periods of time. Avoid blocking the queued depth buffers
by dropping them immedietaly once their expected metadata
arrives and the valid flag is not set.
Avoid incrementing "pendingBufferIter" during depth requests.
PD depth buffers are not part of the "mPendingRequestsList"
and get handled separately from the regular streams.

Bug: 63146296
Test: Manual using application,
Complete Camera CTS.

Change-Id: Ic18bad5e9fcf3b8e10f693278d9ee1f19a5e0c57
2 files changed
tree: 3848382b75ecea5b0e7c58e21cd2821c7e9e678b
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk