scanning = false if no adapter present
This commit is contained in:
parent
6c7a18067f
commit
a303d71d25
|
@ -167,8 +167,8 @@ public class InsightPairingActivity extends AppCompatActivity implements Insight
|
|||
intentFilter.addAction(BluetoothDevice.ACTION_FOUND);
|
||||
registerReceiver(broadcastReceiver, intentFilter);
|
||||
bluetoothAdapter.startDiscovery();
|
||||
scanning = true;
|
||||
}
|
||||
scanning = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue