Fixed NPE found by blackbox87 ... thanks pal!
This commit is contained in:
parent
6af02c4c13
commit
393f45bda1
1 changed files with 1 additions and 1 deletions
|
@ -1923,8 +1923,8 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
|||
holder.position = cursor.getPosition();
|
||||
|
||||
if (holder.contactBadge != null) {
|
||||
holder.contactBadge.assignContactFromEmail(counterpartyAddress.getAddress(), true);
|
||||
if (counterpartyAddress != null) {
|
||||
holder.contactBadge.assignContactFromEmail(counterpartyAddress.getAddress(), true);
|
||||
/*
|
||||
* At least in Android 2.2 a different background + padding is used when no
|
||||
* email address is available. ListView reuses the views but QuickContactBadge
|
||||
|
|
Loading…
Reference in a new issue