From 12aff1777ae1efac15f3d0072d3a1f87a6763f29 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 7 Mar 2019 20:09:23 +0100 Subject: [PATCH] try disabling DIRTY mode at creating contacts --- .../simplemobiletools/contacts/pro/helpers/ContactsHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt index 14cf3ddb..0fd1ca03 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt @@ -1249,7 +1249,7 @@ class ContactsHelper(val context: Context) { 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, 1) + withValue(ContactsContract.RawContacts.DIRTY, 0) operations.add(build()) }