DO NOT MERGE: Fix ION memory leak for camera2 testStillPreviewCombination tstcase
This test item will use ImageReader for receiving image buffer produced by Camera HAL1,
During tesing, ImageReaders can not be released for those surfaces are usually released
by finalizer( It seems like finalizer can't keep up the speed to configure_streams in
This patch release ImageReader's surface after new stream cofiguration configured.
Signed-off-by: Junjie Hu <email@example.com>
1 file changed