disable new btle scanning, it does not work for me :(

master
Andreas Shimokawa 2016-09-26 22:07:46 +02:00
parent 5364bf6246
commit cb232638d4
1 changed files with 2 additions and 1 deletions

View File

@ -261,7 +261,8 @@ public class DiscoveryActivity extends GBActivity implements AdapterView.OnItemC
LOG.warn("Not starting discovery, because already scanning.");
return;
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
if (false && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
// does not work for @ashimokawa
startDiscovery(Scanning.SCANNING_NEW_BTLE);
} else {
startDiscovery(Scanning.SCANNING_BT);