exception in Samsung sm-a205G

225 views
Skip to first unread message
Assigned to wenhu...@google.com by eri...@google.com

周月玥

unread,
Aug 6, 2020, 2:04:11 AM8/6/20
to Android CameraX Discussion Group
https://issuetracker.google.com/issues/158546463

this issue is the same as me, our qa reproduce four times. but can't Stablely reproduce

Wenhung Teng

unread,
Aug 6, 2020, 4:07:03 AM8/6/20
to Android CameraX Discussion Group, zhouyu...@gmail.com
Hi, we are already looking into this issue.
There are some possible reasons might cause the Preview doesn't work.
Some issue has a failure in the HAL on specific Samsung devices, it requires a device reboot to recover the issue.
While the HAL issue happens, all the camera application might fail to open.
Can your team have a try to open the original camera application while the issue is happening? We will appreciate to have more information about this issue.
zhouyu...@gmail.com 在 2020年8月6日 星期四下午2:04:11 [UTC+8] 的信中寫道:

周月玥

unread,
Aug 7, 2020, 4:54:38 AM8/7/20
to Android CameraX Discussion Group, wenhu...@google.com, 周月玥
our qa reproduce this bug,  original camera can be opened, and then return my app after open original camera, the app will be rightly run

周月玥

unread,
Aug 9, 2020, 10:04:47 PM8/9/20
to Android CameraX Discussion Group, 周月玥, wenhu...@google.com
excuse me. hava some  conclusions to the bug?

Wenhung Teng

unread,
Aug 10, 2020, 1:18:29 AM8/10/20
to Android CameraX Discussion Group, zhouyu...@gmail.com, Wenhung Teng
Hi, we are still under investigating on this issue, 
the log ERROR_CAMERA_SERVICE means the camera HAL gets unpredicted fail that might need to clarify whether we can workaround it by specific operation.
The camera HAL dead lock issue had reported to the Samsung team already, and we are looking into the other possible reason that might cause the camera fail.

Additionally, there is a fix for some Preview black screen issue will be addressed in the Aug. release, it possibly can help to improve the stability for the Samsung devices.
The fix can help to recover the issue while the view switching in rapidly. Hope this can help on the issue you meet on the device.
If your team still gets the issue in the new version, collect some log and reproduce steps (if possible) will be helpful for further analysis.
zhouyu...@gmail.com 在 2020年8月10日 星期一上午10:04:47 [UTC+8] 的信中寫道:

周月玥

unread,
Aug 10, 2020, 3:07:20 AM8/10/20
to Android CameraX Discussion Group, wenhu...@google.com, 周月玥
ok, i see. thank you

周月玥

unread,
Sep 9, 2020, 5:51:07 AM9/9/20
to Android CameraX Discussion Group, wenhu...@google.com, 周月玥

hello, now, mix2 still have the problem(beta-08).

logcat:

2020-09-09 17:19:14.894 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:14.938 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:15.733 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:15.784 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:16.358 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:16.395 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:17.207 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:17.244 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:17.982 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:18.027 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:18.834 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:18.881 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:19.542 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:19.599 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.133 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.211 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.808 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.874 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:21.297 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:21.335 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:21.883 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:24.542 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:24.615 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:25.208 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:25.275 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:25.825 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.046 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.089 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.684 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.713 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:30.630 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:30.682 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:34.649 18604-21751/com.indictionary.translate E/libc: Access denied finding property "persist.vendor.camera.privapp.list" 2020-09-09 17:19:34.654 18604-3058/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.hal1.packagelist" 2020-09-09 17:19:34.655 18604-3058/com.indictionary.translate E/libc: Access denied finding property "camera.rotate.packagelist" 2020-09-09 17:19:34.655 18604-3058/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.rotate.packagelist" 2020-09-09 17:19:34.741 18604-25095/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2020-09-09 17:19:34.741 18604-25095/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2020-09-09 17:19:34.785 18604-21751/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2020-09-09 17:19:34.856 18604-3129/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:35.138 18604-3129/com.indictionary.translate E/CameraDeviceState: Cannot call capture while in state: 2 2020-09-09 17:19:35.155 18604-3126/com.indictionary.translate E/CameraDeviceState: Cannot receive result while in state: 0 2020-09-09 17:19:35.155 18604-3126/com.indictionary.translate E/CameraDeviceState: Cannot call idle while in state: 0 2020-09-09 17:19:35.232 18604-3129/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:35.254 18604-21751/com.indictionary.translate E/CameraDeviceState: Cannot call idle while in state: 0 2020-09-09 17:19:35.255 18604-21751/com.indictionary.translate E/Camera2CameraImpl: CameraDevice.onError(): 0 failed with ERROR_CAMERA_DEVICE while in CLOSING state. Will finish closing camera. 2020-09-09 17:19:35.257 18604-21751/com.indictionary.translate E/CameraCaptureSession: Session 1: Exception while stopping repeating: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2448) at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1116) at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:527) at androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl.close(SynchronizedCaptureSessionBaseImpl.java:436) at androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl.lambda$close$4$SynchronizedCaptureSessionImpl(SynchronizedCaptureSessionImpl.java:309) at androidx.camera.camera2.internal.-$$Lambda$SynchronizedCaptureSessionImpl$ej6SnusDBaFvWFR_5VwoLwriBIE.run(Unknown Source:2) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:230) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) 2020-09-09 17:19:35.258 18604-21751/com.indictionary.translate E/CameraCaptureSession: Session 1: Exception while unconfiguring outputs: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2448) at android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(CameraDeviceImpl.java:422) at android.hardware.camera2.impl.CameraCaptureSessionImpl$IdleDrainListener.onDrained(CameraCaptureSessionImpl.java:952) at android.hardware.camera2.utils.TaskDrainer.lambda$postDrained$0(TaskDrainer.java:207) at android.hardware.camera2.utils.-$$Lambda$TaskDrainer$Jb53sDskEXp_qIjiikQeCRx0wJs.run(Unknown Source:2) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:230) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) 2020-09-09 17:20:11.747 18604-18611/com.indictionary.translate E/onary.translat: Something went wrong getting fds from adb. Retry!: Connection refused

reproduce video: 

first video is error 

second video represent open system camera still could't open app camera, but will often open camera after kill the app progress

 third video represent our code should has no problem


please see this video in https://issuetracker.google.com/issues/158546463

微信截图_20200909175024.png

Wenhung Teng

unread,
Sep 9, 2020, 6:46:09 AM9/9/20
to Android CameraX Discussion Group, zhouyu...@gmail.com, Wenhung Teng
Hi, thanks for the video and log!

We notice that the device HAL layer might fail with the ERROR_CAMERA_DEVICE. 
And the ERROR_CAMERA_DEVICE might be possible to recover by reopening the camera device.

The error causes an internal state stuck. We are trying to prepare a workaround for it.
Will update the information to you once the fix is ready.

zhouyu...@gmail.com 在 2020年9月9日 星期三下午5:51:07 [UTC+8] 的信中寫道:

周月玥

unread,
Sep 9, 2020, 11:05:27 PM9/9/20
to Android CameraX Discussion Group, wenhu...@google.com, 周月玥
ok  thank you. 

Wenhung Teng

unread,
Oct 7, 2020, 7:03:06 AM10/7/20
to Android CameraX Discussion Group, zhouyu...@gmail.com, Wenhung Teng
Hi,
We have an update to force close & re-open the camera if it receives an onError callback. This can help the on the ERROR_CAMERA_DEVICE case.
The update will be in the Oct. release.
You can have a try on the new version, it will recover the Preview from the camera device error.

zhouyu...@gmail.com 在 2020年9月10日 星期四上午11:05:27 [UTC+8] 的信中寫道:

周月玥

unread,
Oct 20, 2020, 10:53:30 PM10/20/20
to Android CameraX Discussion Group, wenhu...@google.com, 周月玥
i reproduce on mix2, reproduce step is Keep pressing the background. error log as follows:


2020-10-21 10:50:52.777 22052-26565/com.youdao.hindict E/CameraDeviceState: Cannot call capture while in state: 2
2020-10-21 10:50:52.797 22052-26564/com.youdao.hindict E/CameraDeviceState: Cannot receive result while in state: 0
2020-10-21 10:50:52.797 22052-26564/com.youdao.hindict E/CameraDeviceState: Cannot call idle while in state: 0
2020-10-21 10:50:52.886 22052-26565/com.youdao.hindict E/libc: Access denied finding property "persist.camera.legacy_perf"
2020-10-21 10:50:52.897 22052-22949/com.youdao.hindict E/CameraDeviceState: Cannot call idle while in state: 0
2020-10-21 10:50:52.900 22052-22949/com.youdao.hindict E/Camera2CameraImpl: CameraDevice.onError(): 0 failed with ERROR_CAMERA_DEVICE while in CLOSING state. Will finish closing camera.
2020-10-21 10:50:52.901 22052-22949/com.youdao.hindict E/CameraCaptureSession: Session 1: Exception while stopping repeating: 
    android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
        at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2448)
        at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1116)
        at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:527)
        at androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl.close(SynchronizedCaptureSessionBaseImpl.java:436)
        at androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl.lambda$close$4$SynchronizedCaptureSessionImpl(SynchronizedCaptureSessionImpl.java:309)
        at androidx.camera.camera2.internal.-$$Lambda$SynchronizedCaptureSessionImpl$FYBJDMhVAN6TATAq887frkFPytI.run(Unknown Source:2)
        at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:229)
        at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:171)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2020-10-21 10:50:52.902 22052-22949/com.youdao.hindict E/CameraCaptureSession: Session 1: Exception while unconfiguring outputs: 
    android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
        at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2448)
        at android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(CameraDeviceImpl.java:422)
        at android.hardware.camera2.impl.CameraCaptureSessionImpl$IdleDrainListener.onDrained(CameraCaptureSessionImpl.java:952)
        at android.hardware.camera2.utils.TaskDrainer.lambda$postDrained$0(TaskDrainer.java:207)
        at android.hardware.camera2.utils.-$$Lambda$TaskDrainer$Jb53sDskEXp_qIjiikQeCRx0wJs.run(Unknown Source:2)
        at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:229)
        at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:171)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2020-10-21 10:51:16.544 22052-22206/com.youdao.hindict E/FirebaseInstanceId: Token retrieval failed without exception message. Will retry token retrieval


周月玥

unread,
Oct 20, 2020, 11:10:51 PM10/20/20
to Android CameraX Discussion Group, 周月玥, wenhu...@google.com
use beta10 and alpha17.  other infos is restart the camera, still black screen, error log is 
2020-10-21 11:03:38.717 28543-28543/com.youdao.hindict W/Activity: Slow Operation: Activity com.youdao.hindict/.activity.CameraActivity onStart took 102ms
2020-10-21 11:03:38.815 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:03:38.816 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:03:38.855 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:03:38.857 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:03:38.857 28543-29764/com.youdao.hindict I/chatty: uid=10505(com.youdao.hindict) CameraX-core_ca identical 1 line
2020-10-21 11:03:38.861 28543-29764/com.youdao.hindict D/CameraStateRegistry: Recalculating open cameras:
    Camera                                       State                 
    -------------------------------------------------------------------
    Camera@4074dcc[id=0]                         OPENING               
    Camera@7fa1bf6[id=1]                         UNKNOWN               
    -------------------------------------------------------------------
    Open count: 1 (Max allowed: 1)


and log of normal open is 

2020-10-21 11:01:16.661 28543-28543/com.youdao.hindict W/Activity: Slow Operation: Activity com.youdao.hindict/.activity.CameraActivity onStart took 152ms
2020-10-21 11:01:16.794 28543-29762/com.youdao.hindict I/CameraManagerGlobal: Connecting to camera service
2020-10-21 11:01:16.789 28543-28543/com.youdao.hindict W/CameraX-core_ca: type=1400 audit(0.0:261028): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=20614 scontext=u:r:untrusted_app:s0:c249,c257,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
2020-10-21 11:01:16.789 28543-28543/com.youdao.hindict W/CameraX-core_ca: type=1400 audit(0.0:261029): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=20614 scontext=u:r:untrusted_app:s0:c249,c257,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
2020-10-21 11:01:16.798 28543-29762/com.youdao.hindict I/chatty: uid=10505(com.youdao.hindict) CameraX-core_ca identical 1 line
2020-10-21 11:01:16.789 28543-28543/com.youdao.hindict W/CameraX-core_ca: type=1400 audit(0.0:261030): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=20614 scontext=u:r:untrusted_app:s0:c249,c257,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
2020-10-21 11:01:16.859 28543-28543/com.youdao.hindict W/CameraX-core_ca: type=1400 audit(0.0:261032): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=20614 scontext=u:r:untrusted_app:s0:c249,c257,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
2020-10-21 11:01:16.871 28543-29762/com.youdao.hindict D/CameraRepository: Added camera: 0
2020-10-21 11:01:16.892 28543-29762/com.youdao.hindict I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY
2020-10-21 11:01:16.892 28543-29762/com.youdao.hindict D/CameraRepository: Added camera: 1
2020-10-21 11:01:16.904 28543-29762/com.youdao.hindict I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY
2020-10-21 11:01:16.942 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:01:16.945 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:01:16.971 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:01:16.973 28543-29764/com.youdao.hindict I/chatty: uid=10505(com.youdao.hindict) CameraX-core_ca identical 1 line
2020-10-21 11:01:16.973 28543-28543/com.youdao.hindict D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2020-10-21 11:01:16.981 28543-29764/com.youdao.hindict D/CameraStateRegistry: tryOpenCamera(Camera@4074dcc[id=0]) [Available Cameras: 1, Already Open: false (Previous state: null)] --> SUCCESS
2020-10-21 11:01:16.982 28543-29764/com.youdao.hindict D/CameraStateRegistry: Recalculating open cameras:
    Camera                                       State                 
    -------------------------------------------------------------------
    Camera@4074dcc[id=0]                         OPENING               
    Camera@7fa1bf6[id=1]                         UNKNOWN               
    -------------------------------------------------------------------
    Open count: 1 (Max allowed: 1)
2020-10-21 11:01:17.001 28543-29764/com.youdao.hindict I/CameraManager: Using legacy camera HAL.
2020-10-21 11:01:17.151 28543-29764/com.youdao.hindict I/chatty: uid=10505(com.youdao.hindict) CameraX-core_ca identical 1 line
2020-10-21 11:01:17.158 28543-29764/com.youdao.hindict D/CameraStateRegistry: Recalculating open cameras:
    Camera                                       State                 
    -------------------------------------------------------------------
    Camera@4074dcc[id=0]                         OPEN                  
    Camera@7fa1bf6[id=1]                         UNKNOWN               
    -------------------------------------------------------------------
    Open count: 1 (Max allowed: 1)
2020-10-21 11:01:17.171 28543-29764/com.youdao.hindict I/CameraDeviceState: Legacy camera service transitioning to state CONFIGURING
2020-10-21 11:01:17.172 28543-29822/com.youdao.hindict D/Camera: app passed NULL surface
2020-10-21 11:01:17.200 28543-29764/com.youdao.hindict I/CameraDeviceState: Legacy camera service transitioning to state IDLE
2020-10-21 11:01:17.207 28543-29764/com.youdao.hindict D/CaptureSession: CameraCaptureSession.onConfigured() mState=OPENED
2020-10-21 11:01:17.208 28543-29764/com.youdao.hindict D/CaptureSession: CameraCaptureSession.onReady() OPENED
2020-10-21 11:01:17.485 28543-29826/com.youdao.hindict I/CameraDeviceState: Legacy camera service transitioning to state CAPTURING
2020-10-21 11:01:17.527 28543-28618/com.youdao.hindict D/LeakCanary: Setting up flushing for Thread[CameraX-scheduler,5,main]
2020-10-21 11:01:17.527 28543-28618/com.youdao.hindict D/LeakCanary: Setting up flushing for Thread[LegacyCameraCallback,5,main]
2020-10-21 11:01:17.528 28543-28618/com.youdao.hindict D/LeakCanary: Setting up flushing for Thread[CameraDeviceGLThread-0,5,main]
 

Scott Nien

unread,
Oct 20, 2020, 11:54:40 PM10/20/20
to 周月玥, Android CameraX Discussion Group, wenhu...@google.com
Can you try using beta11 and alpha18 ?     This version contains some fix that might improve the black screen issue.  It would be nice if you can repro again using the beta 11 and alpha18 


--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/b73daec7-6f4e-4510-b13f-e3419a5049c7n%40android.com.
Reply all
Reply to author
Forward
0 new messages