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

Commit eeadd3ff authored by Neel Parekh's avatar Neel Parekh
Browse files

Allow us to set the contact uri without setting the fast track's uri

parent 8799b96e
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