mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-09 08:08:49 +01:00
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 {
|
||||
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())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user