Verified
Status Update
Comments
xi...@google.com <xi...@google.com>
[Deleted User] <[Deleted User]> #3
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit b18f334975a45c3c684a30d64c10a09b41dc4d16
Author: Xi Zhang <xizh@google.com>
Date: Wed Aug 16 10:23:14 2023
[CameraController 1.4]: Set resolution with ResolutionSelector
We are deprecating the OutputSize in CameraController and replace it with ResolutionSelector
Relnote: Deprecate OutputSize and replace it with ResolutionSelector. ResolutionSelector is a more comprehensive way to select resolutions, and it's consistent with the camera-core API.
Bug: 286801438
Test: manual test and ./gradlew bOS
Change-Id: I93abdb2472d82de5af890fccdd253d629f9111e7
M camera/camera-view/api/current.txt
M camera/camera-view/api/restricted_current.txt
M camera/camera-view/src/main/java/androidx/camera/view/CameraController.java
M camera/camera-view/src/test/java/androidx/camera/view/CameraControllerTest.kt
https://android-review.googlesource.com/2712158
Branch: androidx-main
commit b18f334975a45c3c684a30d64c10a09b41dc4d16
Author: Xi Zhang <xizh@google.com>
Date: Wed Aug 16 10:23:14 2023
[CameraController 1.4]: Set resolution with ResolutionSelector
We are deprecating the OutputSize in CameraController and replace it with ResolutionSelector
Relnote: Deprecate OutputSize and replace it with ResolutionSelector. ResolutionSelector is a more comprehensive way to select resolutions, and it's consistent with the camera-core API.
Bug: 286801438
Test: manual test and ./gradlew bOS
Change-Id: I93abdb2472d82de5af890fccdd253d629f9111e7
M camera/camera-view/api/current.txt
M camera/camera-view/api/restricted_current.txt
M camera/camera-view/src/main/java/androidx/camera/view/CameraController.java
M camera/camera-view/src/test/java/androidx/camera/view/CameraControllerTest.kt
xi...@google.com <xi...@google.com>
pr...@google.com <pr...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-view:1.4.0-alpha02
Description
CAMERAX VERSION: 1.3.0-alpha07
CAMERA APPLICATION NAME AND VERSION: Aperture (https://github.com/LineageOS/android_packages_apps_Aperture ), version 13
ANDROID OS BUILD NUMBER: TQ2A.230505.002
DEVICE NAME: Google Pixel 7 Pro
DESCRIPTION: CameraController is still using OutputSize, which is a class only used by CameraController. Now that ResolutionSelector exists, it should be migrated to that (with the advantage of also adding setAllowedResolutionMode control). A patch has been sent to AOSP Gerrit to implement this change:https://android-review.googlesource.com/c/platform/frameworks/support/+/2621689
LIST ANY EXPERIMENTAL FEATURES:
STEPS TO REPRODUCE: Not applicable
OBSERVED RESULTS: Not applicable
EXPECTED RESULTS: Not applicable
REPRODUCIBILITY: Not applicable
ADDITIONAL INFORMATION: N/A
CODE FRAGMENTS (this will help us troubleshoot your issues):https://android-review.googlesource.com/c/platform/frameworks/support/+/2621689