mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-25 16:50:44 +02:00
MiBand3 pairing fix
(cherry picked from commit 3656ed9648b28475c35764da8a5cbeb420cfc307)
This commit is contained in:
parent
f2ff1991da
commit
09a36aa5e7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user