another tailCall
This commit is contained in:
parent
310ab3e3ae
commit
e536c29351
1 changed files with 1 additions and 2 deletions
|
@ -469,9 +469,8 @@ class DataSyncSelectorImplementation @Inject constructor(
|
||||||
gv.first.id != gv.second.id && gv.second.id <= sp.getLong(R.string.key_ns_glucose_value_new_data_id, 0) -> {
|
gv.first.id != gv.second.id && gv.second.id <= sp.getLong(R.string.key_ns_glucose_value_new_data_id, 0) -> {
|
||||||
confirmLastGlucoseValueIdIfGreater(gv.second.id)
|
confirmLastGlucoseValueIdIfGreater(gv.second.id)
|
||||||
//lastGvId = -1
|
//lastGvId = -1
|
||||||
processChangedGlucoseValuesCompat()
|
|
||||||
aapsLogger.info(LTag.DATABASE, "Ignoring GlucoseValue. Change within first sync ID: ${gv.first.id} HistoryID: ${gv.second.id} ")
|
aapsLogger.info(LTag.DATABASE, "Ignoring GlucoseValue. Change within first sync ID: ${gv.first.id} HistoryID: ${gv.second.id} ")
|
||||||
return false
|
tailCall = true
|
||||||
}
|
}
|
||||||
// only NsId changed, no need to upload
|
// only NsId changed, no need to upload
|
||||||
gv.first.onlyNsIdAdded(gv.second) -> {
|
gv.first.onlyNsIdAdded(gv.second) -> {
|
||||||
|
|
Loading…
Reference in a new issue