mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix crash when contact is null in history fragment
This commit is contained in:
parent
b065907f35
commit
fa206360ce
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
|||
holder.contactPicture.setImageResource(R.drawable.avatar_medium_unregistered);
|
||||
}
|
||||
|
||||
displayName = c.getFullName();
|
||||
displayName = (c != null) ? c.getFullName() : null;
|
||||
|
||||
if (displayName == null) {
|
||||
holder.contact.setText(LinphoneUtils.getAddressDisplayName(sipUri));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue