parent
00a18f58a7
commit
796940bda5
1 changed files with 3 additions and 1 deletions
|
@ -58,7 +58,9 @@ public class ContactSelectionListItem extends RelativeLayout implements Recipien
|
||||||
} else if (!TextUtils.isEmpty(number)) {
|
} else if (!TextUtils.isEmpty(number)) {
|
||||||
this.recipients = RecipientFactory.getRecipientsFromString(getContext(), number, true);
|
this.recipients = RecipientFactory.getRecipientsFromString(getContext(), number, true);
|
||||||
|
|
||||||
if (this.recipients.getPrimaryRecipient().getName() != null) {
|
if (this.recipients.getPrimaryRecipient() != null &&
|
||||||
|
this.recipients.getPrimaryRecipient().getName() != null)
|
||||||
|
{
|
||||||
name = this.recipients.getPrimaryRecipient().getName();
|
name = this.recipients.getPrimaryRecipient().getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue