Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35468254 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 26720 into eclair

* changes:
  Allow us to set the contact uri without setting the fast track's uri
parents 6ecaff15 eeadd3ff
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -319,9 +319,18 @@ public class ContactHeaderWidget extends FrameLayout implements View.OnClickList
     * Manually set the contact uri
     */
    public void setContactUri(Uri uri) {
        setContactUri(uri, true);
    }

    /**
     * Manually set the contact uri
     */
    public void setContactUri(Uri uri, boolean sendToFastrack) {
        mContactUri = uri;
        if (sendToFastrack) {
            mPhotoView.assignContactUri(uri);
        }
    }

    /**
     * Manually set the photo to display in the header. This doesn't change the