From 1c6293effb8130363db2192214daf3d638befb18 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 14 Dec 2021 10:26:37 +0100 Subject: [PATCH] log clearing paring keys --- .../main/java/info/nightscout/androidaps/danars/DanaRSPlugin.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/danars/src/main/java/info/nightscout/androidaps/danars/DanaRSPlugin.kt b/danars/src/main/java/info/nightscout/androidaps/danars/DanaRSPlugin.kt index b212b3807c..6d1e60ce63 100644 --- a/danars/src/main/java/info/nightscout/androidaps/danars/DanaRSPlugin.kt +++ b/danars/src/main/java/info/nightscout/androidaps/danars/DanaRSPlugin.kt @@ -621,6 +621,7 @@ class DanaRSPlugin @Inject constructor( override fun loadTDDs(): PumpEnactResult = loadHistory(RecordTypes.RECORD_TYPE_DAILY) override fun canHandleDST(): Boolean = false override fun clearPairing() { + aapsLogger.debug(LTag.PUMPCOMM, "Pairing keys cleared") sp.remove(rh.gs(R.string.key_danars_pairingkey) + mDeviceName) sp.remove(rh.gs(R.string.key_danars_v3_randompairingkey) + mDeviceName) sp.remove(rh.gs(R.string.key_danars_v3_pairingkey) + mDeviceName)