handle photo changing at contact update

This commit is contained in:
tibbi 2017-12-26 20:04:38 +01:00
parent 70b011a697
commit 6ac34aa532

View File

@ -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