Merge change 26720 into eclair

* changes:
  Allow us to set the contact uri without setting the fast track's uri
This commit is contained in:
Android (Google) Code Review
2009-09-25 19:05:10 -04:00

View File

@@ -319,8 +319,17 @@ 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;
mPhotoView.assignContactUri(uri);
if (sendToFastrack) {
mPhotoView.assignContactUri(uri);
}
}
/**