-
Notifications
You must be signed in to change notification settings - Fork 836
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
Allow scans with screen off on Android 8.1 #637
Conversation
…ing with screen off.
Here's a test showing that this works on Android 8.1: Android 8.1 with screen off
Android 8.1 with screen off
|
Android 8.1 now blocks scans with the screen off unless there is an associated ScanFilter. This change adds an empty ScanFilter that matches anything so that results are still returned on Android 8.1 in these conditions. This addresses #633
I have not tested this on an Android 8.1 device yet as I do not have one handy. I have only verified that the scans still work with this wildcard filter added on a pre-8.1 device.