mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-28 18:47:32 +01: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()!");
|
LOG.warn("could not get BluetoothLeScanner()!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (newLeScanCallback == null) {
|
||||||
|
LOG.warn("newLeScanCallback == null!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
bluetoothLeScanner.stopScan(newLeScanCallback);
|
bluetoothLeScanner.stopScan(newLeScanCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user