- added logs for Pod state loading and saving so that we can see what is happening with bug #102
This commit is contained in:
parent
4c14e2e364
commit
8c803f7e0c
|
@ -120,6 +120,7 @@ public class RileyLinkOmnipodService extends RileyLinkService {
|
|||
try {
|
||||
Gson gson = OmnipodUtil.getGsonInstance();
|
||||
String storedPodState = SP.getString(OmnipodConst.Prefs.PodState, null);
|
||||
LOG.info("PodSessionState-SP: loaded from SharedPreferences: " + storedPodState);
|
||||
podState = gson.fromJson(storedPodState, PodSessionState.class);
|
||||
OmnipodUtil.setPodSessionState(podState);
|
||||
} catch (Exception ex) {
|
||||
|
|
Loading…
Reference in a new issue