-
-
Notifications
You must be signed in to change notification settings - Fork 599
fix: fixed camera crashes on some devices #1485
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
base: develop
Are you sure you want to change the base?
Conversation
Do you have a stacktrace for the actual crash? |
|
1 similar comment
|
That looks like a device specific configuration issue? What devices is this happening on? |
I think all we need here is
We check if the camera provider is null, but not if it has no cameras during initialization. The rest of of the code in this PR seems irrelevant to the fix. |
but we should need to handle null checks also other wise it cause issue |
realme RED8F6 |
The stacktrace you provided does not mention any NullPointerExceptions, so that is not the issue. |
No description provided.