suppress deprecation

This commit is contained in:
Milos Kozak 2022-11-24 11:07:18 +01:00
parent 11d51098be
commit 80f6050d04

View file

@ -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()
}