commit | cd5b1823b5eed510c069477545a8c43c7cbb0c58 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Tue Sep 07 11:52:48 2021 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Wed Sep 08 16:24:51 2021 +0000 |
tree | c0da4d935be8484d5a5eaf2a2a5b3b7c133dae12 | |
parent | 547282798ce5fe06b36f623219e799336a234ec9 [diff] |
Camera: Invalidate buffer cache for partial buffer request failure In case partial buffer request fails for a particular stream, the successfully allocated buffers need to be invalidated from the mBufferIdMaps. Otherwise, the camera frameworks thinks the HAL already knows about the buffer, and sends a null buffer handle for a new buffer. Test: Vendor testing Bug: 198122465 Bug: 196202313 Change-Id: I73a710aebf102fcbb49e53b52c18e4835986f40f