changing DIRTY value at creating contact to an integer
This commit is contained in:
parent
ea520ab7a8
commit
b5a9e6a8b7
|
@ -1243,7 +1243,7 @@ class ContactsHelper(val context: Context) {
|
||||||
ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI).apply {
|
ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI).apply {
|
||||||
withValue(ContactsContract.RawContacts.ACCOUNT_NAME, contact.source)
|
withValue(ContactsContract.RawContacts.ACCOUNT_NAME, contact.source)
|
||||||
withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, getContactSourceType(contact.source))
|
withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, getContactSourceType(contact.source))
|
||||||
withValue(ContactsContract.RawContacts.DIRTY, false)
|
withValue(ContactsContract.RawContacts.DIRTY, 1)
|
||||||
operations.add(build())
|
operations.add(build())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue