1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 14:32:54 +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."); 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);