mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	try disabling DIRTY mode at creating contacts
This commit is contained in:
		| @@ -1249,7 +1249,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, 1) |                 withValue(ContactsContract.RawContacts.DIRTY, 0) | ||||||
|                 operations.add(build()) |                 operations.add(build()) | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user