Fixed
Status Update
Comments
wu...@google.com <wu...@google.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.
le...@google.com <le...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
le...@google.com <le...@google.com>
bo...@phyreapp.com <bo...@phyreapp.com> #4
Comment has been deleted.
le...@google.com <le...@google.com> #5
Oh, since it is a test only apk, you can use adb command to install it.
adb install -r -t camera-testapp-core-debug_20221005.apk
kb...@gmail.com <kb...@gmail.com> #6
Thanks. I tested the apk and it works as expected with the workaround. Upgrading to 1.2.0-beta02 did not work.
le...@google.com <le...@google.com> #7
Thanks! I will apply the workaround and update info here.
ap...@google.com <ap...@google.com> #8
Project: platform/frameworks/support
Branch: androidx-main
commit bc14580453fed7163a3230aa1806e55f53d9d06f
Author: leo huang <leohuang@google.com>
Date: Wed Oct 12 11:19:36 2022
Fix video captured with front camera fails to record on Huawei P40 lite
Relnote: "Fixed video captured with front camera fails to record on Huawei P40 lite."
Bug: 250807400
Test: manually testing
Change-Id: I87c578a04e7a0318046da9a3a44bab5792007c88
M camera/camera-video/src/main/java/androidx/camera/video/internal/compat/quirk/ReportedVideoQualityNotSupportedQuirk.java
https://android-review.googlesource.com/2251214
Branch: androidx-main
commit bc14580453fed7163a3230aa1806e55f53d9d06f
Author: leo huang <leohuang@google.com>
Date: Wed Oct 12 11:19:36 2022
Fix video captured with front camera fails to record on Huawei P40 lite
Relnote: "Fixed video captured with front camera fails to record on Huawei P40 lite."
Bug: 250807400
Test: manually testing
Change-Id: I87c578a04e7a0318046da9a3a44bab5792007c88
M camera/camera-video/src/main/java/androidx/camera/video/internal/compat/quirk/ReportedVideoQualityNotSupportedQuirk.java
le...@google.com <le...@google.com> #9
The workaround has been merged. The release version will be 1.3.0-alpha01
.
kb...@gmail.com <kb...@gmail.com> #10
Thank you for your quick reaction!
na...@google.com <na...@google.com> #11
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-video:1.3.0-alpha01
Description
CAMERAX VERSION 1.1.0
CAMERA APPLICATION NAME AND VERSION: Sample App from GitHub with updated CameraX version to 1.1.0.
ANDROID OS BUILD NUMBER: 12.0.0.242(C432E5R4P2)
DEVICE NAME: Huawei P40 Lite (JNY-LX1)
DESCRIPTION: When trying to record a video, using the Front Camera. The Preview Freezes, nothing gets recorded and the result is error with code ERROR_NO_VALID_DATA. This can be reproduced when selecting QUALITY_FHD or QUALITY_HD. Everything works as expected for QUALITY_SD.
STEPS TO REPRODUCE:
OBSERVED RESULTS: When you start the recording, the camera preview will freeze. Once you stop the recording, you'll receive a
VideoRecordEvent.Finalize
with error codeERROR_NO_VALID_DATA
.EXPECTED RESULTS: Preview and video recording should behave normally for all available camera qualities.
REPRODUCIBILITY: every time
ADDITIONAL INFORMATION: Logcat:
CODE FRAGMENTS (this will help us troubleshoot your issues):