Commit 8df2fdf5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Update git submodules

* Update frameworks/support from branch 'androidx-main'
  to e7f3e5dfb8c3f99035a09af4206b4baec001853d
  - Merge "Fix ImageCaptureTest#returnJpegImage_whenSoftwareJpegIsEnabledWithCaptureProcessor failure" into androidx-main
  - Fix ImageCaptureTest#returnJpegImage_whenSoftwareJpegIsEnabledWithCaptureProcessor failure
    
    CaptureRequest#JPEG_ORIENTATION was set no matter whether ImageCapture captured JPEG or YUV_420_888 image. Most devices would have the JPEG_ORIENTATION capture result value, but some devices would not. It might be because the captured image is YUV_420_888 but not JPEG format. Therefore, YuvToJpegProcessor can’t expect that it can retrieve the correct output rotation degrees value from the Camera2CameraCaptureResult.
    
    - Only set JPEG_ORIENTATION and JPEG_QUALITY capture request key values from ImageCapture when capturing JPEG images.
    - Directly pass the output rotation degrees value to YuvToJpegProcessor per each ImageCaptureRequest.
    - Overwrite rotation degrees value to ExifData in YuvToJpegProcessor when outputting the JPEG image.
    
    Bug: 204375890
    Test: ./gradlew bOS
    Change-Id: Ic4da1cb5d6df6e556ae6a9b6cd8da06b2610bb4e
    
parent d26c1d8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment