QCamera2: HAL3: Avoid blindly invalidating buffers

ImageReader buffers are invalidated when calling lock when buffer is
consumed, and it's not necessary to unconditionally invalidating them
when they return to HAL.

For HAL internal buffers, if they are consumed by reprocessing, they are
invalidated with postproc.

Test: Camera CTS
Bug: 63950311
Change-Id: I80e4a992e29a314dae444db958f8307c8a54fdb6
1 file changed
tree: 76fb6a1aff4413ce5950601ddee2e246f3d2365e
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk