Fix crash when call a non-contact on dialer
This commit is contained in:
parent
160b0c3b8b
commit
07c67f3fec
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ public class ContactsManager extends ContentObserver {
|
||||||
if (lc != null) {
|
if (lc != null) {
|
||||||
lpc = lc.getDefaultProxyConfig();
|
lpc = lc.getDefaultProxyConfig();
|
||||||
}
|
}
|
||||||
|
if (lpc == null) return null;
|
||||||
String normalized = lpc.normalizePhoneNumber(phoneNumber);
|
String normalized = lpc.normalizePhoneNumber(phoneNumber);
|
||||||
|
|
||||||
LinphoneAddress addr = lpc.normalizeSipUri(normalized);
|
LinphoneAddress addr = lpc.normalizeSipUri(normalized);
|
||||||
|
|
Loading…
Reference in a new issue