Fixed
Status Update
Comments
an...@revolut.com <an...@revolut.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
ch...@google.com <ch...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
an...@revolut.com <an...@revolut.com> #4
Thanks. Also one addition is that it doesn't work for both YUV_420_888 and RGBA_8888
ch...@google.com <ch...@google.com> #5
Hi,
One more thing to confirm with you. Does the issue happen on only back, front camera or both lens facing cameras?
About the info provided in
ch...@google.com <ch...@google.com>
an...@revolut.com <an...@revolut.com> #6
Hey,
the issue happens for both cameras and the behavior seems to be the same: everything with i <= 6 don't work(freezes). Attaching screenshot for the back facing camera.
the issue happens for both cameras and the behavior seems to be the same: everything with i <= 6 don't work(freezes). Attaching screenshot for the back facing camera.
ap...@google.com <ap...@google.com> #7
Project: platform/frameworks/support
Branch: androidx-main
commit 1cbb038f2bb251029c3eed88150f9aab1f800123
Author: Charcoal Chen <charcoalchen@google.com>
Date: Fri Sep 13 06:50:01 2024
Exclude problematic output sizes for ImageAnalysis on Samsung SM-A057G
device
Relnote: "Excluded problematic output sizes for ImageAnalysis on Samsung
SM-A057G device. When ImageAnalysis uses a resolution larger or equal to
1920x1440, it will cause black preview issue. Applied
ExcludedSupportedSizesQuirk to the SM-A057G device to avoid the issue."
Bug: 365877975
Test: ./gradlew bOS
Change-Id: I63dfe9a224f74e6960c8b5bfeace1372cff8b22c
M camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/compat/quirk/ExcludedSupportedSizesQuirk.kt
M camera/camera-camera2/src/main/java/androidx/camera/camera2/internal/compat/quirk/ExcludedSupportedSizesQuirk.java
https://android-review.googlesource.com/3266313
Branch: androidx-main
commit 1cbb038f2bb251029c3eed88150f9aab1f800123
Author: Charcoal Chen <charcoalchen@google.com>
Date: Fri Sep 13 06:50:01 2024
Exclude problematic output sizes for ImageAnalysis on Samsung SM-A057G
device
Relnote: "Excluded problematic output sizes for ImageAnalysis on Samsung
SM-A057G device. When ImageAnalysis uses a resolution larger or equal to
1920x1440, it will cause black preview issue. Applied
ExcludedSupportedSizesQuirk to the SM-A057G device to avoid the issue."
Bug: 365877975
Test: ./gradlew bOS
Change-Id: I63dfe9a224f74e6960c8b5bfeace1372cff8b22c
M camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/compat/quirk/ExcludedSupportedSizesQuirk.kt
M camera/camera-camera2/src/main/java/androidx/camera/camera2/internal/compat/quirk/ExcludedSupportedSizesQuirk.java
ch...@google.com <ch...@google.com> #8
Thanks for the update.
pr...@google.com <pr...@google.com> #9
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-camera2:1.5.0-alpha02
Description
This is created for tracking the forum issue .
The issue might happen when ImageAnalysis uses 1920x1440 or some other output sizes.
We may be able to create a quirk to not use the problematic output sizes to avoid this issue.