From 44cc3f6119359ca27300ea0741d8ffaa17fa1773 Mon Sep 17 00:00:00 2001 From: Andy Rozman Date: Sat, 7 Mar 2020 19:50:51 +0000 Subject: [PATCH] - problem with settings --- .../pump/omnipod/OmnipodPumpPlugin.java | 21 ------------------- app/src/main/res/values/strings.xml | 2 +- app/src/main/res/xml/pref_omnipod.xml | 4 ++-- 3 files changed, 3 insertions(+), 24 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java index c1be954790..76da0108ff 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java @@ -911,18 +911,6 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump private CustomAction customActionResetRLConfig = new CustomAction( R.string.medtronic_custom_action_reset_rileylink, OmnipodCustomActionType.ResetRileyLinkConfiguration, true); -// protected CustomAction customActionPairAndPrime = new CustomAction( -// R.string.omnipod_cmd_init_pod, OmnipodCustomActionType.PairAndPrime, true); -// -// protected CustomAction customActionFillCanullaSetBasalProfile = new CustomAction( -// R.string.omnipod_cmd_init_pod, OmnipodCustomActionType.FillCanulaSetBasalProfile, false); -// -// protected CustomAction customActionDeactivatePod = new CustomAction( -// R.string.omnipod_cmd_deactivate_pod, OmnipodCustomActionType.DeactivatePod, false); -// -// protected CustomAction customActionResetPod = new CustomAction( -// R.string.omnipod_cmd_reset_pod, OmnipodCustomActionType.ResetPodStatus, true); - @Override public List getCustomActions() { @@ -930,10 +918,6 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump if (customActions == null) { this.customActions = Arrays.asList( customActionResetRLConfig //, - //customActionPairAndPrime, // - //customActionFillCanullaSetBasalProfile, // - //customActionDeactivatePod, // - //customActionResetPod ); } @@ -974,11 +958,6 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump } } - - public void setEnableCustomAction(OmnipodCustomActionType customAction, boolean isEnabled) { - } - - @Override public boolean isFixedUnreachableAlertTimeoutExceeded(long unreachableTimeoutMilliseconds) { getPodPumpStatusObject(); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c6944b28b1..eaa3d55ac1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1679,7 +1679,7 @@ - Operation is not possible.\n\n You need to configure Omnipod first, before you can use this operation. + Operation is not possible.\n\nYou need to configure Omnipod first, before you can use this operation. Operation is not possible.\n\n You need to wait few minutes, until AAPS tries to set profile for first time. Illegal PodInitActionType: %1$s No active pod. diff --git a/app/src/main/res/xml/pref_omnipod.xml b/app/src/main/res/xml/pref_omnipod.xml index 131b9206c1..8289c5eb8e 100644 --- a/app/src/main/res/xml/pref_omnipod.xml +++ b/app/src/main/res/xml/pref_omnipod.xml @@ -37,9 +37,9 @@ android:title="@string/omnipod_config_pod_debugging_options_enabled" /> + android:title="@string/omnipod_config_timechange_enabled" /> \ No newline at end of file