Skip to content

Commit 8023bef

Browse files
committed
set the DIRTY flag to true at creating new contacts
1 parent 073e759 commit 8023bef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,7 @@ class ContactsHelper(val activity: Activity) {
12071207
ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI).apply {
12081208
withValue(ContactsContract.RawContacts.ACCOUNT_NAME, contact.source)
12091209
withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, getContactSourceType(contact.source))
1210+
withValue(ContactsContract.RawContacts.DIRTY, true)
12101211
operations.add(build())
12111212
}
12121213

0 commit comments

Comments
 (0)