mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
handle photo changing at contact update
This commit is contained in:
@ -291,9 +291,8 @@ class ContactsHelper(val activity: BaseSimpleActivity) {
|
||||
|
||||
// photo
|
||||
when (photoUpdateStatus) {
|
||||
PHOTO_ADDED -> addPhoto(contact, operations)
|
||||
PHOTO_ADDED, PHOTO_CHANGED -> addPhoto(contact, operations)
|
||||
PHOTO_REMOVED -> removePhoto(contact, operations)
|
||||
PHOTO_CHANGED -> {}
|
||||
}
|
||||
activity.contentResolver.applyBatch(ContactsContract.AUTHORITY, operations)
|
||||
true
|
||||
|
Reference in New Issue
Block a user