Weird NPE

This commit is contained in:
Moxie Marlinspike 2012-11-30 19:32:43 -08:00
parent c83d57aa59
commit fa5e993191

View File

@ -131,6 +131,8 @@ public class ConversationListItem extends RelativeLayout {
}
private void setContactPhoto(final Recipient recipient) {
if (recipient == null) return;
if (isBadgeEnabled()) {
contactPhotoBadge.setImageBitmap(recipient.getContactPhoto());
contactPhotoBadge.assignContactFromPhone(recipient.getNumber(), true);