1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-22 23:02:33 +02:00

MiBand3 pairing fix

(cherry picked from commit 3656ed9648b28475c35764da8a5cbeb420cfc307)
This commit is contained in:
jonnsoft 2018-07-06 15:15:14 +02:00 committed by cpfeiffer
parent f2ff1991da
commit 09a36aa5e7

View File

@ -447,6 +447,10 @@ public class DiscoveryActivity extends AbstractGBActivity implements AdapterView
LOG.warn("could not get BluetoothLeScanner()!");
return;
}
if (newLeScanCallback == null) {
LOG.warn("newLeScanCallback == null!");
return;
}
bluetoothLeScanner.stopScan(newLeScanCallback);
}