From 8b919078c879b8196d7f213081e437deee0352c2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 26 Oct 2018 13:31:21 +0200 Subject: [PATCH] set dirty to false when inserting a new account --- .../com/simplemobiletools/contacts/helpers/ContactsHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt index ae98ea2e..afb65611 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt @@ -1207,7 +1207,7 @@ class ContactsHelper(val activity: Activity) { ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI).apply { withValue(ContactsContract.RawContacts.ACCOUNT_NAME, contact.source) withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, getContactSourceType(contact.source)) - withValue(ContactsContract.RawContacts.DIRTY, true) + withValue(ContactsContract.RawContacts.DIRTY, false) operations.add(build()) }