From d5ae4cabf282d7a3f18e573cc622fc33bf0bc320 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Wed, 10 Nov 2021 23:10:26 +0100 Subject: [PATCH] call stopConnecting only once --- .../main/java/info/nightscout/androidaps/queue/QueueThread.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/queue/QueueThread.kt b/app/src/main/java/info/nightscout/androidaps/queue/QueueThread.kt index 1bdbdc7d64..df3ce83881 100644 --- a/app/src/main/java/info/nightscout/androidaps/queue/QueueThread.kt +++ b/app/src/main/java/info/nightscout/androidaps/queue/QueueThread.kt @@ -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()