Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev

This commit is contained in:
Andy Rozman 2020-05-07 21:22:22 +01:00
commit a915c279d4

View file

@ -413,7 +413,11 @@ public abstract class RileyLinkCommunicationManager {
lastGoodReceiverCommunicationTime = System.currentTimeMillis(); lastGoodReceiverCommunicationTime = System.currentTimeMillis();
sp.putLong(RileyLinkConst.Prefs.LastGoodDeviceCommunicationTime, lastGoodReceiverCommunicationTime); sp.putLong(RileyLinkConst.Prefs.LastGoodDeviceCommunicationTime, lastGoodReceiverCommunicationTime);
getPumpStatus().setLastCommunicationToNow(); PumpStatus pumpStatus = getPumpStatus();
if(pumpStatus != null) {
pumpStatus.setLastCommunicationToNow();
}
} }