changing DIRTY value at creating contact to an integer

This commit is contained in:
tibbi 2019-01-05 17:39:40 +01:00
parent ea520ab7a8
commit b5a9e6a8b7
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}