mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Log when we get bogus timestamps #91
This commit is contained in:
@@ -96,6 +96,7 @@ public class FetchActivityOperation extends AbstractBTLEOperation<MiBandSupport>
|
|||||||
// something is fishy here... better not trust the given timestamp and simply
|
// something is fishy here... better not trust the given timestamp and simply
|
||||||
// (re)use the current one
|
// (re)use the current one
|
||||||
// we do accept the timestamp to ack though, so that the bogus data is properly cleared on the band
|
// we do accept the timestamp to ack though, so that the bogus data is properly cleared on the band
|
||||||
|
LOG.warn("Got bogus timestamp: " + timestamp.getTime() + " that is smaller than the previous timestamp: " + activityDataTimestampProgress.getTime());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
activityDataTimestampToAck = (GregorianCalendar) timestamp.clone();
|
activityDataTimestampToAck = (GregorianCalendar) timestamp.clone();
|
||||||
|
Reference in New Issue
Block a user