When user updated picture in editor, set the new picture as super primary so the change is reflected in the app
This commit is contained in:
parent
db631fc1a7
commit
96c069a19b
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ public class LinphoneContact implements Serializable {
|
|||
.withValue(ContactsContract.Data.RAW_CONTACT_ID, rawContactId)
|
||||
.withValue(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.Photo.CONTENT_ITEM_TYPE)
|
||||
.withValue(ContactsContract.CommonDataKinds.Photo.PHOTO, photo)
|
||||
.withValue(ContactsContract.Data.IS_SUPER_PRIMARY, 1)
|
||||
.build());
|
||||
} else {
|
||||
changesToCommit.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI)
|
||||
|
|
Loading…
Reference in a new issue