mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	delete contacts from a background thread
This commit is contained in:
		| @@ -1528,10 +1528,12 @@ class ContactsHelper(val context: Context) { | ||||
|         ensureBackgroundThread { | ||||
|             if (deleteClones) { | ||||
|                 getDuplicatesOfContact(originalContact, true) { contacts -> | ||||
|                     ensureBackgroundThread { | ||||
|                         if (deleteContacts(contacts)) { | ||||
|                             callback(true) | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } else { | ||||
|                 if (deleteContacts(arrayListOf(originalContact))) { | ||||
|                     callback(true) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user