Merge commit 'baf4ca1bba6a93e20614d605a1232b3f34057723' into eclair-mr2-plus-aosp * commit 'baf4ca1bba6a93e20614d605a1232b3f34057723': Add a method to clear info about a contact
This commit is contained in:
@@ -408,6 +408,17 @@ public class ContactHeaderWidget extends FrameLayout implements View.OnClickList
|
|||||||
PHONE_LOOKUP_PROJECTION, null, null, null);
|
PHONE_LOOKUP_PROJECTION, null, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to force this widget to forget everything it knows about the contact.
|
||||||
|
* The widget isn't automatically updated or redrawn.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public void wipeClean() {
|
||||||
|
setPhoto(null);
|
||||||
|
mContactUri = null;
|
||||||
|
mExcludeMimes = null;
|
||||||
|
}
|
||||||
|
|
||||||
private void startContactQuery(Uri contactUri) {
|
private void startContactQuery(Uri contactUri) {
|
||||||
mQueryHandler.startQuery(TOKEN_CONTACT_INFO, null, contactUri, ContactQuery.COLUMNS,
|
mQueryHandler.startQuery(TOKEN_CONTACT_INFO, null, contactUri, ContactQuery.COLUMNS,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user