Merge "Don't use QuickContactBadge.assignContactFromEmail"

This commit is contained in:
Makoto Onuki 2010-09-29 12:46:59 -07:00 committed by Android (Google) Code Review
commit 2711c16a46

View File

@ -396,7 +396,6 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
mQuickContactLookupUri = null;
mSenderPresenceView.setImageResource(ContactStatusLoader.PRESENCE_UNKNOWN_RESOURCE_ID);
mFromBadge.setImageToDefault();
mFromBadge.assignContactFromEmail("", false);
}
/**
@ -616,7 +615,6 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
if (sender != null) {
String email = sender.getAddress();
if (email != null) {
mFromBadge.assignContactFromEmail(email, false);
getLoaderManager().restartLoader(PHOTO_LOADER_ID,
ContactStatusLoaderCallbacks.createArguments(email),
new ContactStatusLoaderCallbacks(this));