Allow to display a LinphoneFriend without a display name (crash fix)
This commit is contained in:
parent
7ffa7c0471
commit
b22b142e5f
1 changed files with 2 additions and 7 deletions
|
@ -213,13 +213,8 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
|
|||
LinphoneActivity.instance().selectMenu(FragmentsAvailable.CONTACT_DETAIL);
|
||||
LinphoneActivity.instance().hideTabBar(false);
|
||||
}
|
||||
if (contact.getFullName() == null || contact.getFullName().equals("")) {
|
||||
//Contact has been deleted, return
|
||||
LinphoneActivity.instance().displayContacts(false);
|
||||
} else {
|
||||
contact.refresh();
|
||||
displayContact(inflater, view);
|
||||
}
|
||||
contact.refresh();
|
||||
displayContact(inflater, view);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue