- problem with settings

This commit is contained in:
Andy Rozman 2020-03-07 19:50:51 +00:00
parent bba4c36294
commit 44cc3f6119
3 changed files with 3 additions and 24 deletions

View file

@ -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<CustomAction> 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();

View file

@ -37,9 +37,9 @@
android:title="@string/omnipod_config_pod_debugging_options_enabled" />
<SwitchPreference
android:defaultValue="false"
android:defaultValue="true"
android:key="@string/key_omnipod_timechange_enabled"
android:title="@string/omnipod_config_pod_debugging_options_enabled" />
android:title="@string/omnipod_config_timechange_enabled" />
</PreferenceCategory>
</PreferenceScreen>