Load pod state after initializing PodStateManager
This commit is contained in:
parent
050816ddf9
commit
da2c2110da
|
@ -110,6 +110,7 @@ public class RileyLinkOmnipodService extends RileyLinkService {
|
|||
AapsOmnipodManager instance = AapsOmnipodManager.getInstance();
|
||||
if (instance == null) {
|
||||
PodStateManager podStateManager = new AapsPodStateManager(aapsLogger, sp, omnipodUtil, omnipodPumpStatus, rxBus, resourceHelper);
|
||||
podStateManager.loadPodState();
|
||||
omnipodUtil.setPodStateManager(podStateManager);
|
||||
|
||||
OmnipodCommunicationManager omnipodCommunicationService = new OmnipodCommunicationManager(injector, rfspy);
|
||||
|
|
Loading…
Reference in a new issue