1
0
mirror of https://github.com/etesync/android synced 2024-12-23 07:08:16 +00:00

Add log stating the amount of entries fetched.

This commit is contained in:
Tom Hacohen 2017-02-17 16:41:34 +00:00
parent aff3be7af4
commit 5ec0dd45b5

View File

@ -254,6 +254,8 @@ abstract public class SyncManager {
protected void fetchEntries() throws Exceptions.HttpException, ContactsStorageException, CalendarStorageException, Exceptions.IntegrityException {
remoteEntries = journal.getEntries(settings.password(), remoteCTag);
App.log.info("Fetched " + String.valueOf(remoteEntries.size()) + " entries");
if (!remoteEntries.isEmpty()) {
remoteCTag = remoteEntries.get(remoteEntries.size() - 1).getUuid();