diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dagger/OmnipodModule.kt b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dagger/OmnipodModule.kt index 770de8d277..8841fb2645 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dagger/OmnipodModule.kt +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dagger/OmnipodModule.kt @@ -3,7 +3,6 @@ package info.nightscout.androidaps.plugins.pump.omnipod.dagger import dagger.Module import dagger.Provides import dagger.android.ContributesAndroidInjector -import info.nightscout.androidaps.plugins.pump.omnipod.OmnipodPumpPlugin import info.nightscout.androidaps.plugins.pump.omnipod.data.RLHistoryItemOmnipod import info.nightscout.androidaps.plugins.pump.omnipod.driver.manager.PodStateManager import info.nightscout.androidaps.plugins.pump.omnipod.manager.AapsOmnipodManager @@ -38,9 +37,7 @@ abstract class OmnipodModule { // Data @ContributesAndroidInjector abstract fun initPodRefreshAction(): InitPodRefreshAction - @ContributesAndroidInjector abstract fun podStateManager(): PodStateManager @ContributesAndroidInjector abstract fun initPodTask(): InitPodTask - @ContributesAndroidInjector abstract fun omnipodPumpPlugin(): OmnipodPumpPlugin @ContributesAndroidInjector abstract fun rlHistoryItemOmnipod(): RLHistoryItemOmnipod companion object { diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsOmnipodManager.java b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsOmnipodManager.java index 7c8fc6395e..6d05f79c7c 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsOmnipodManager.java +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsOmnipodManager.java @@ -1,7 +1,5 @@ package info.nightscout.androidaps.plugins.pump.omnipod.manager; -import android.content.Context; - import org.joda.time.DateTime; import org.joda.time.Duration; @@ -90,7 +88,6 @@ public class AapsOmnipodManager { private final ResourceHelper resourceHelper; private final HasAndroidInjector injector; private final ActivePluginProvider activePlugin; - private final Context context; private final SP sp; private final OmnipodManager delegate; private final DatabaseHelperInterface databaseHelper; @@ -114,7 +111,6 @@ public class AapsOmnipodManager { ResourceHelper resourceHelper, HasAndroidInjector injector, ActivePluginProvider activePlugin, - Context context, DatabaseHelperInterface databaseHelper, OmnipodAlertUtil omnipodAlertUtil) { if (podStateManager == null) { @@ -127,7 +123,6 @@ public class AapsOmnipodManager { this.resourceHelper = resourceHelper; this.injector = injector; this.activePlugin = activePlugin; - this.context = context; this.databaseHelper = databaseHelper; this.sp = sp; this.omnipodAlertUtil = omnipodAlertUtil;