1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

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

This commit is contained in:
Andreas Shimokawa 2016-09-26 22:07:46 +02:00
parent 5364bf6246
commit cb232638d4

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);