-
Notifications
You must be signed in to change notification settings - Fork 16
Hardware #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have tried this on Xiaomi Mi 5, Android 8.0.0 API 26 |
Try this while creating capture request for front or both cameras. This made the application work on a custom Quectel hardware running Android 9. |
Hello, |
Hey @seann99, you are welcome. Did you try this:
If problem persists, mind posting the crashlogs? |
Thank you very much for this quick feedback. In your code it is already mentioned: and i'chnaged in: previewRequestBuilderFront.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_OFF) here are my logs: 2020-07-22 14:09:14.047 17413-17413/com.ananth.frontrearcamera E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2020-07-22 14:09:15.152 17413-17413/com.ananth.frontrearcamera W/Binder:17413_2: type=1400 audit(0.0:1056): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=14928 scontext=u:r:untrusted_app:s0:c99,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0 |
Hey @seann99, I am not sure these are crash logs. |
mCaptureRequestBuilderFront = mCameraDeviceFront.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); mCaptureRequestBuilderFront.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_OFF); mCaptureRequestBuilderFront.set(CaptureRequest.CONTROL_AE_LOCK, true); |
What device did you use? I'm using Huawei mate 30 and only one camera preview works.
The text was updated successfully, but these errors were encountered: