[-] Disable automatic scanning

This commit is contained in:
Azalea Gui
2023-01-23 15:27:18 -05:00
parent 432cec8740
commit 694e850077
@@ -314,13 +314,5 @@ internal class BluetoothHandler private constructor(context: Context) {
}
}
}
central.observeAdapterState { state ->
when (state) {
BluetoothAdapter.STATE_ON -> startScanning()
}
}
startScanning()
}
}