mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-03-10 00:00:09 +01:00
handle photo changing at contact update
This commit is contained in:
parent
70b011a697
commit
6ac34aa532
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user