speed up duplicate contact fetching by ignoring some fields

This commit is contained in:
tibbi
2021-02-14 21:01:23 +01:00
parent ab94133860
commit 31f0f0aa53
3 changed files with 41 additions and 33 deletions

View File

@ -510,7 +510,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
}
private fun exportContactsTo(ignoredContactSources: HashSet<String>, outputStream: OutputStream?) {
ContactsHelper(this).getContacts(true, ignoredContactSources) { contacts ->
ContactsHelper(this).getContacts(true, false, ignoredContactSources) { contacts ->
if (contacts.isEmpty()) {
toast(R.string.no_entries_for_exporting)
} else {