mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 10:55:49 +01:00
parent
0e4b9a4eb8
commit
e4faabeca3
@ -151,7 +151,7 @@ public class FetchActivityOperation extends AbstractMiBand2Operation {
|
||||
private void handleActivityFetchFinish() {
|
||||
LOG.info("Fetching activity data has finished round " + fetchCount);
|
||||
GregorianCalendar lastSyncTimestamp = saveSamples();
|
||||
if (needsAnotherFetch(lastSyncTimestamp)) {
|
||||
if (lastSyncTimestamp != null && needsAnotherFetch(lastSyncTimestamp)) {
|
||||
try {
|
||||
startFetching();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user