Commit bc9ac754 authored by Anon's avatar Anon
Browse files

Remove incorrect device check.

parent 7ec79dfe
......@@ -63,10 +63,6 @@ object ConnectionService {
}
fun connect(context: Context) {
if (device == null) {
throw IllegalStateException()
}
// Use first BLE devices that is bonded
val bondedDevices = BluetoothAdapter.getDefaultAdapter().bondedDevices.filter {
it.address.startsWith(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment