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…
Reference in New Issue