From 7a98e525e06683cf9d1cf0244018fd779ce2c1a4 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 28 Mar 2022 13:42:18 +0200 Subject: [PATCH] fix PodActivationActionFragmentBase --- .../fragment/action/PodActivationActionFragmentBase.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/omnipod-common/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/common/ui/wizard/activation/fragment/action/PodActivationActionFragmentBase.kt b/omnipod-common/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/common/ui/wizard/activation/fragment/action/PodActivationActionFragmentBase.kt index a8347d01ef..57d7b432af 100644 --- a/omnipod-common/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/common/ui/wizard/activation/fragment/action/PodActivationActionFragmentBase.kt +++ b/omnipod-common/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/common/ui/wizard/activation/fragment/action/PodActivationActionFragmentBase.kt @@ -10,7 +10,10 @@ import info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.common.f import info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.deactivation.PodDeactivationWizardActivity abstract class PodActivationActionFragmentBase : ActionFragmentBase() { - +/* + * Removed by Milos. It's causing + * android.content.ActivityNotFoundException: Unable to find explicit activity class {info.nightscout.androidaps/info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.deactivation.PodDeactivationWizardActivity}; have you declared this activity in your AndroidManifest.xml? + * override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) @@ -21,7 +24,7 @@ abstract class PodActivationActionFragmentBase : ActionFragmentBase() { } } } - +*/ override fun onFailure() { (viewModel as? PodActivationActionViewModelBase)?.let { viewModel -> if (viewModel.isPodDeactivatable() and (viewModel.isPodInAlarm() or viewModel.isPodActivationTimeExceeded())) {