handle photo changing at contact update
This commit is contained in:
parent
70b011a697
commit
6ac34aa532
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Reference in a new issue