call stopConnecting only once
This commit is contained in:
parent
7ad425ae1d
commit
d5ae4cabf2
1 changed files with 0 additions and 1 deletions
|
@ -60,7 +60,6 @@ class QueueThread internal constructor(
|
|||
//write time
|
||||
sp.putLong(R.string.key_btwatchdog_lastbark, System.currentTimeMillis())
|
||||
//toggle BT
|
||||
pump.stopConnecting()
|
||||
pump.disconnect("watchdog")
|
||||
SystemClock.sleep(1000)
|
||||
val bluetoothAdapter = BluetoothAdapter.getDefaultAdapter()
|
||||
|
|
Loading…
Reference in a new issue