Fixed issues related to phone numbers

This commit is contained in:
Sylvain Berfini 2017-10-18 15:45:58 +02:00
parent a408e61437
commit 0590ef5846
2 changed files with 2 additions and 2 deletions

View file

@ -541,7 +541,7 @@ public final class LinphoneUtils {
public static String getFullAddressFromUsername(String username) {
String sipAddress = username;
Core lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
if (lc == null) return sipAddress;
if (lc == null || username == null) return sipAddress;
if (!sipAddress.startsWith("sip:")) {
sipAddress = "sip:" + sipAddress;

@ -1 +1 @@
Subproject commit a9e3caf17f8c233f5ab9a517a1382c6fd3453a24
Subproject commit aaf0eac9c79b8f69abba752a29c6b12ce18ed957