0.11.1-SNAPSHOT
- fix to suspend code
This commit is contained in:
parent
c460d1d3ef
commit
654b8ab0f6
2 changed files with 7 additions and 3 deletions
|
@ -105,7 +105,7 @@ android {
|
|||
multiDexEnabled true
|
||||
versionCode 1500
|
||||
// dev_version: 2.3.1-dev
|
||||
version "medtronic-0.11.0-SNAPSHOT"
|
||||
version "medtronic-0.11.1-SNAPSHOT"
|
||||
buildConfigField "String", "VERSION", '"' + version + '"'
|
||||
buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"'
|
||||
buildConfigField "String", "HEAD", '"' + generateGitBuild() + '"'
|
||||
|
|
|
@ -869,7 +869,7 @@ public class MedtronicHistoryData {
|
|||
|
||||
PumpHistoryEntry oneMoreEntryFromHistory = getOneMoreEntryFromHistory();
|
||||
if (oneMoreEntryFromHistory != null) {
|
||||
filteredItems.add(getOneMoreEntryFromHistory());
|
||||
filteredItems.add(oneMoreEntryFromHistory);
|
||||
} else {
|
||||
filteredItems.remove(filteredItems.size() - 1); // remove last (unpaired R)
|
||||
}
|
||||
|
@ -933,6 +933,7 @@ public class MedtronicHistoryData {
|
|||
if (filteredItem.getEntryType() == PumpHistoryEntryType.Bolus ||
|
||||
filteredItem.getEntryType() == PumpHistoryEntryType.TempBasalCombined) {
|
||||
finishedItems = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!finishedItems) {
|
||||
|
@ -956,6 +957,7 @@ public class MedtronicHistoryData {
|
|||
if (filteredItem.getEntryType() == PumpHistoryEntryType.Bolus ||
|
||||
filteredItem.getEntryType() == PumpHistoryEntryType.TempBasalCombined) {
|
||||
finishedItems = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!finishedItems) {
|
||||
|
@ -965,8 +967,10 @@ public class MedtronicHistoryData {
|
|||
}
|
||||
|
||||
|
||||
if (!finishedItems)
|
||||
if (!finishedItems) {
|
||||
showLogs("NoDeliveryRewindPrimeRecords: Not finished Items: ", gson.toJson(tempData));
|
||||
return outList;
|
||||
}
|
||||
|
||||
|
||||
showLogs("NoDeliveryRewindPrimeRecords: Records to evaluate: ", gson.toJson(tempData));
|
||||
|
|
Loading…
Reference in a new issue