Skip to content
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

Fix null pointer exception on accessing bluetooth_name #42

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

louischan-oursky
Copy link
Contributor

ref #41

On Android 29, Settings.Secure.getString will return null.
This contradicts with the type.
So we have to change our variable to allow null,
otherwise the assignment will cause null pointer exception.
@tung2744 tung2744 merged commit 9d3c05b into authgear:main Mar 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants