diff --git a/app/src/main/java/com/etesync/syncadapter/ui/DebugInfoActivity.java b/app/src/main/java/com/etesync/syncadapter/ui/DebugInfoActivity.java index 306db17a..9cd1b414 100644 --- a/app/src/main/java/com/etesync/syncadapter/ui/DebugInfoActivity.java +++ b/app/src/main/java/com/etesync/syncadapter/ui/DebugInfoActivity.java @@ -46,6 +46,7 @@ import com.etesync.syncadapter.Constants; import com.etesync.syncadapter.InvalidAccountException; import com.etesync.syncadapter.R; import com.etesync.syncadapter.journalmanager.Exceptions.HttpException; +import com.etesync.syncadapter.model.EntryEntity; import com.etesync.syncadapter.model.JournalEntity; import com.etesync.syncadapter.model.ServiceDB; @@ -250,6 +251,8 @@ public class DebugInfoActivity extends AppCompatActivity implements LoaderManage List journals = data.select(JournalEntity.class).where(JournalEntity.DELETED.eq(false)).get().toList(); for (JournalEntity journal : journals) { report.append(journal.toString() + "\n"); + int entryCount = data.count(EntryEntity.class).where(EntryEntity.JOURNAL.eq(journal)).get().value(); + report.append("\tEntries: " + String.valueOf(entryCount) + "\n\n"); } report.append("\n");