From b5a9e6a8b7a3b08430613170d6c400b57906881d Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 5 Jan 2019 17:39:40 +0100 Subject: [PATCH] changing DIRTY value at creating contact to an integer --- .../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 b25544e4..89fe463d 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 @@ -1243,7 +1243,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, false) + withValue(ContactsContract.RawContacts.DIRTY, 1) operations.add(build()) }