Remove unnecessary method injection
This commit is contained in:
parent
df7d28dc16
commit
66062e3ee6
2 changed files with 0 additions and 6 deletions
|
@ -5,7 +5,6 @@ import dagger.Provides
|
|||
import dagger.android.ContributesAndroidInjector
|
||||
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
|
||||
import info.nightscout.androidaps.plugins.pump.omnipod.manager.AapsPodStateManager
|
||||
import info.nightscout.androidaps.plugins.pump.omnipod.rileylink.manager.OmnipodRileyLinkCommunicationManager
|
||||
import info.nightscout.androidaps.plugins.pump.omnipod.ui.PodHistoryActivity
|
||||
|
@ -33,7 +32,6 @@ abstract class OmnipodModule {
|
|||
// Service
|
||||
@ContributesAndroidInjector
|
||||
abstract fun omnipodCommunicationManagerProvider(): OmnipodRileyLinkCommunicationManager
|
||||
@ContributesAndroidInjector abstract fun aapsOmnipodManagerProvider(): AapsOmnipodManager
|
||||
|
||||
// Data
|
||||
@ContributesAndroidInjector abstract fun initPodRefreshAction(): InitPodRefreshAction
|
||||
|
|
|
@ -128,11 +128,7 @@ public class AapsOmnipodManager {
|
|||
this.omnipodAlertUtil = omnipodAlertUtil;
|
||||
|
||||
delegate = new OmnipodManager(aapsLogger, sp, communicationService, podStateManager);
|
||||
}
|
||||
|
||||
@Inject
|
||||
void onInit() {
|
||||
// this cannot be done in the constructor, as sp is not populated at that time
|
||||
reloadSettings();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue