Commit 2181ea4a authored by Anon's avatar Anon

Merge branch 'device-check-fix' into 'master'

Remove incorrect device check

Closes #5

See merge request card10/companion-app-android!10
parents 7ec79dfe bc9ac754
......@@ -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(
......
Markdown is supported
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