[-] Disable automatic scanning
This commit is contained in:
@@ -314,13 +314,5 @@ internal class BluetoothHandler private constructor(context: Context) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
central.observeAdapterState { state ->
|
|
||||||
when (state) {
|
|
||||||
BluetoothAdapter.STATE_ON -> startScanning()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
startScanning()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user