disable new btle scanning, it does not work for me :(
This commit is contained in:
parent
5364bf6246
commit
cb232638d4
|
@ -261,7 +261,8 @@ public class DiscoveryActivity extends GBActivity implements AdapterView.OnItemC
|
||||||
LOG.warn("Not starting discovery, because already scanning.");
|
LOG.warn("Not starting discovery, because already scanning.");
|
||||||
return;
|
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);
|
startDiscovery(Scanning.SCANNING_NEW_BTLE);
|
||||||
} else {
|
} else {
|
||||||
startDiscovery(Scanning.SCANNING_BT);
|
startDiscovery(Scanning.SCANNING_BT);
|
||||||
|
|
Loading…
Reference in New Issue