From 9c4982becd4516b321c0af7771d32e79cd6baecf Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Sun, 1 Dec 2019 15:05:28 +0100 Subject: [PATCH] Remove redundant sending of EventOmnipodPumpValuesChanged --- .../plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java index 84ab251d8d..dfe1f0e98a 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java @@ -13,7 +13,6 @@ import info.nightscout.androidaps.R; import info.nightscout.androidaps.data.Profile; import info.nightscout.androidaps.data.PumpEnactResult; import info.nightscout.androidaps.logging.L; -import info.nightscout.androidaps.plugins.bus.RxBus; import info.nightscout.androidaps.plugins.pump.common.data.TempBasalPair; import info.nightscout.androidaps.plugins.pump.omnipod.comm.OmnipodCommunicationService; import info.nightscout.androidaps.plugins.pump.omnipod.comm.OmnipodManager; @@ -29,7 +28,6 @@ import info.nightscout.androidaps.plugins.pump.omnipod.defs.schedule.BasalSchedu import info.nightscout.androidaps.plugins.pump.omnipod.defs.state.PodSessionState; import info.nightscout.androidaps.plugins.pump.omnipod.driver.OmnipodPumpStatus; import info.nightscout.androidaps.plugins.pump.omnipod.driver.db.PodDbEntryType; -import info.nightscout.androidaps.plugins.pump.omnipod.events.EventOmnipodPumpValuesChanged; import info.nightscout.androidaps.plugins.pump.omnipod.exception.ActionInitializationException; import info.nightscout.androidaps.plugins.pump.omnipod.exception.CommandInitializationException; import info.nightscout.androidaps.plugins.pump.omnipod.exception.CommunicationException; @@ -119,7 +117,6 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface podInitReceiver.returnInitTaskStatus(PodInitActionType.DeactivatePodWizardStep, true, null); OmnipodUtil.setPodSessionState(null); - RxBus.INSTANCE.send(new EventOmnipodPumpValuesChanged()); return new PumpEnactResult().success(true).enacted(true); } @@ -143,7 +140,6 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface //addToHistory(System.currentTimeMillis(), PodDbEntryType.ResetPodState, null, null, null, null); OmnipodUtil.setPodSessionState(null); - RxBus.INSTANCE.send(new EventOmnipodPumpValuesChanged()); return new PumpEnactResult().success(true).enacted(true); }