mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Fixed crash in call history
This commit is contained in:
parent
b443b6efea
commit
93b96079b1
1 changed files with 3 additions and 0 deletions
|
|
@ -233,6 +233,9 @@ public class ContactsManager extends ContentObserver {
|
|||
String normalized = lpc.normalizePhoneNumber(phoneNumber);
|
||||
|
||||
Address addr = lpc.normalizeSipUri(normalized);
|
||||
if (addr == null) {
|
||||
return null;
|
||||
}
|
||||
addr.setMethodParam(";user=phone");
|
||||
Friend lf = lc.findFriend(addr); // Without this, the hashmap inside liblinphone won't find it...
|
||||
if (lf != null) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue