-
-
Notifications
You must be signed in to change notification settings - Fork 72
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 NoSuchMethodException BluetoothAdapter.setScanMode #17
base: master
Are you sure you want to change the base?
Conversation
Seems you have deleted old code and replaced it with fix for Android 11. |
I think it might be Build.VERSION_CODES.R (For android 11 and above) |
I can add that, but according to docs I did not use any APIs newer than Android 9, so my fix should also work there. Have you checked that? (I don't have any Android 9 to try..) |
I just spotted a flaw in the logic to not show the intent to activate Bluetooth when there is already a device plugged. And other way round this might have prevented new devices to be discovered. |
Hey bro sorry , cant look at your pull request just right now....I am pretty busy this month. If @rostopira is able to look at them and has time he will look at them. But really appreciate your effort. |
Fixes #10
Thanks also to @cuongnv for his code snippet on how to enable discover.