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

Skip to content
Commit ff49bdb6 authored by Euisang Lim's avatar Euisang Lim Committed by Emilian Peev
Browse files

Camera: Validate sizes of data during JpegR metadata generation

In order to avoid generating unexpected data for
android.jpegr.availableJpegRMinFrameDurations and
android.jpegr.availableJpegRStallDurations, the sizes of
supportedP010Sizes and blobMinDurations/blobStallDurations
need to be validated.
Additionally duration entries can be in random order or include
duplicates. Ensure that such cases can be handled accordingly.

Bug: 269075517
Test: atest -c -d
cts/tests/camera/src/android/hardware/camera2/cts/ImageReaderTest.java#testJpegR

Change-Id: I465a5c90d7591c77a406c56ebaaf93cb77a2490e
parent ccec7bd3
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