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 possible NPE when "bluetoothDevice.getUUIDs()" returns null #2

Merged
merged 1 commit into from Nov 30, 2019

Conversation

sibbl
Copy link

@sibbl sibbl commented Nov 9, 2019

For whatever reason I have a Bluetooth device in my list, where getUUIDs() returns null.

A simple null check should fix the app crash happening because of this.

Copy link
Owner

@ClusterM ClusterM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ClusterM ClusterM merged commit 36fa38d into ClusterM:master Nov 30, 2019
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.

None yet

2 participants