From 43c2863825e78f91ee8b27e24bd4d9b678ed789e Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Thu, 19 Dec 2019 00:02:02 +0100 Subject: [PATCH] Remove redundant PodState.setFaultEvent call --- .../androidaps/plugins/pump/omnipod/comm/OmnipodManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/comm/OmnipodManager.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/comm/OmnipodManager.java index 5865dfdf90..a3b078d741 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/comm/OmnipodManager.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/comm/OmnipodManager.java @@ -336,7 +336,6 @@ public class OmnipodManager { try { cancelDelivery(EnumSet.of(DeliveryType.BOLUS), acknowledgementBeep); } catch (PodFaultException ex) { - podState.setFaultEvent(ex.getFaultEvent()); if (isLoggingEnabled()) { LOG.info("Ignoring PodFaultException in cancelBolus", ex); }