From e9d53eea525945ad4aec5ecdbe3bdf8dfc00f777 Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Sat, 22 Aug 2020 01:58:14 +0200 Subject: [PATCH] Fix crash in OmnipodPumpPlugin.onStart() --- .../androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java index 1ac2a98972..2dcc724970 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java @@ -227,11 +227,8 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface, // TODO either find a more elegant solution, or at least make sure this is the right place to do this podStateManager.loadPodState(); - initPumpStatusData(); - Intent intent = new Intent(context, RileyLinkOmnipodService.class); context.bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); - serviceRunning = true; disposables.add(rxBus