QCamera2: HAL3: Restore "mFreeBufferList" during channel stop

"QCamera3PicChannel::putStreamBufs" will currently clear the YUV
free buffer list. All previously allocated buffers will get lost
and "mYuvMemory" will keep allocating new ones until it reaches
the maximum. Further process requests on the blob stream will fail.
To avoid this restore all previously allocated YUV buffers as part
the "putStreamBufs" call.

Bug: 63747832
Test: Manual using application.
Change-Id: I7f13c463a1e8a64b31526f0df09651367338ae68
1 file changed
tree: e091a60edc5913b46db6a3482348161e86dfec50
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk