From 80f6050d04ff86df6b1c90ec9748a483b138d7e3 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 24 Nov 2022 11:07:18 +0100 Subject: [PATCH] suppress deprecation --- .../plugins/pump/combov2/activities/ComboV2PairingActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/pump/combov2/src/main/kotlin/info/nightscout/androidaps/plugins/pump/combov2/activities/ComboV2PairingActivity.kt b/pump/combov2/src/main/kotlin/info/nightscout/androidaps/plugins/pump/combov2/activities/ComboV2PairingActivity.kt index 73fa6ae5da..b221cbfdea 100644 --- a/pump/combov2/src/main/kotlin/info/nightscout/androidaps/plugins/pump/combov2/activities/ComboV2PairingActivity.kt +++ b/pump/combov2/src/main/kotlin/info/nightscout/androidaps/plugins/pump/combov2/activities/ComboV2PairingActivity.kt @@ -217,6 +217,7 @@ class ComboV2PairingActivity : NoSplashAppCompatActivity() { override fun onBackPressed() { aapsLogger.info(LTag.PUMP, "User pressed the back button; cancelling any ongoing pairing") combov2Plugin.cancelPairing() + @Suppress("DEPRECATION") super.onBackPressed() }