1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +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

@ -255,6 +255,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();
}