set dirty to false when inserting a new account
This commit is contained in:
parent
307c168eee
commit
8b919078c8
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue