Fix duplicate requests

Caused by whole synchronize on resume
Fixed by only download on resume
This commit is contained in:
Stefan Niedermann 2016-03-24 23:46:48 +01:00
parent cdb9bd9a74
commit 7bb3419e3f

View file

@ -103,7 +103,7 @@ public class NotesListViewActivity extends AppCompatActivity implements
setListView(db.getNotes());
}
});
db.synchronizeWithServer();
db.getNoteServerSyncHelper().downloadNotes();
}
/**