Skip to content

Commit

Permalink
fixed bug with scanning for ble devices
Browse files Browse the repository at this point in the history
  • Loading branch information
bayosip committed Aug 25, 2021
1 parent 2976bfd commit 34f78d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ private void scanStop() {

if (scanState) {
scanState = false;
deviceAddresses.clear();
Log.w(TAG, "scanning stopped");
if(bluetoothLeScanner != null)
bluetoothLeScanner.stopScan(mScanCallback);
Expand Down

0 comments on commit 34f78d4

Please sign in to comment.