Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42bd6a60 authored by Sally Qi's avatar Sally Qi
Browse files

Fix the issue of Context::setBufferFormat() mix-usage in

ImageWriter/ImageReader JNI side.

- This can get rid of dataspace lost if using dataspace-dependent
  image format.
- Fix getSurfaceType() to retrieve image format instead of hal format.
- refine ImageWriter/ImageReader initializing flow.

Bug: 246344817
Test: atest android.hardware.camera2.cts.ImageReaderTest, atest
android.hardware.camera2.cts.ImageWriterTest

Change-Id: If70f8640e6c057fa4be910372282df764bb84341
parent 0dda8579
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment