connect after priming

This commit is contained in:
Andrei Vereha 2021-12-29 16:37:25 +01:00
parent cedc773218
commit 94b8b1f9e2

View file

@ -377,6 +377,7 @@ class OmnipodDashManagerImpl @Inject constructor(
)
}
if (podStateManager.activationProgress.isBefore(ActivationProgress.INSERTING_CANNULA)) {
observables.add(observeConnectToPod) // connection can time out while waiting
observables.add(
Observable.defer {
Observable.timer(podStateManager.secondPrimeBolusVolume!!.toLong(), TimeUnit.SECONDS)