Fixed a crash when VCard support has been disabled
This commit is contained in:
parent
1b344c3013
commit
4860538466
1 changed files with 4 additions and 3 deletions
|
@ -352,9 +352,10 @@ public class LinphoneContact extends AndroidContact
|
|||
if (mFriend.getVcard() != null) {
|
||||
mFriend.getVcard().setFamilyName(mLastName);
|
||||
mFriend.getVcard().setGivenName(mFirstName);
|
||||
}
|
||||
if (mOrganization != null) {
|
||||
mFriend.getVcard().setOrganization(mOrganization);
|
||||
|
||||
if (mOrganization != null) {
|
||||
mFriend.getVcard().setOrganization(mOrganization);
|
||||
}
|
||||
}
|
||||
|
||||
if (!created) {
|
||||
|
|
Loading…
Reference in a new issue