Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev
This commit is contained in:
commit
f3c4b4e5e7
|
@ -110,7 +110,7 @@ public class RileyLinkOmnipodService extends RileyLinkService {
|
|||
if (sp.contains(OmnipodConst.Prefs.PodState) && omnipodUtil.getPodSessionState() == null) {
|
||||
try {
|
||||
Gson gson = omnipodUtil.getGsonInstance();
|
||||
String storedPodState = sp.getString(OmnipodConst.Prefs.PodState, null);
|
||||
String storedPodState = sp.getString(OmnipodConst.Prefs.PodState, "");
|
||||
aapsLogger.info(LTag.PUMPCOMM, "PodSessionState-SP: loaded from SharedPreferences: " + storedPodState);
|
||||
podState = gson.fromJson(storedPodState, PodSessionState.class);
|
||||
podState.injectDaggerClass(injector);
|
||||
|
|
Loading…
Reference in a new issue