Prevent crash in Omnipod driver
This commit is contained in:
parent
56cf0d5974
commit
f3be91aa18
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface,
|
||||||
if ("SMS".equals(reason)) {
|
if ("SMS".equals(reason)) {
|
||||||
aapsLogger.info(LTag.PUMP, "Acknowledged AAPS getPumpStatus request it was requested through an SMS");
|
aapsLogger.info(LTag.PUMP, "Acknowledged AAPS getPumpStatus request it was requested through an SMS");
|
||||||
getPodStatus();
|
getPodStatus();
|
||||||
} else if (!podStateManager.isBasalCertain() || !podStateManager.isTempBasalCertain()) {
|
} else if (podStateManager.isPodRunning() && (!podStateManager.isBasalCertain() || !podStateManager.isTempBasalCertain())) {
|
||||||
aapsLogger.info(LTag.PUMP, "Acknowledged AAPS getPumpStatus request because basal and/or temp basal is uncertain");
|
aapsLogger.info(LTag.PUMP, "Acknowledged AAPS getPumpStatus request because basal and/or temp basal is uncertain");
|
||||||
getPodStatus();
|
getPodStatus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue