Promotion of atel.lnx.2.0-00065.
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
2012502 Ide5c405bf1d1d61bc5d836f9f6ba4c276b13d908 Fix dialer crash after making 4G confernce call with ano
Change-Id: Ia92ff045667089acb13bdbfb8e0bd139dada6230
CRs-Fixed: 2012502
diff --git a/src/com/android/dialer/calllog/ContactInfoHelper.java b/src/com/android/dialer/calllog/ContactInfoHelper.java
index ea39d03..c07ca2a 100644
--- a/src/com/android/dialer/calllog/ContactInfoHelper.java
+++ b/src/com/android/dialer/calllog/ContactInfoHelper.java
@@ -292,10 +292,13 @@
}
String combName = "";
for (String num : nums) {
- ContactInfo singleCi = lookupContactFromUri(getContactInfoLookupUri(num),
- isSip);
+ ContactInfo singleCi = null;
+ if (!TextUtils.isEmpty(num)) {
+ singleCi = lookupContactFromUri(
+ getContactInfoLookupUri(num), isSip);
+ }
// If contact does not exist, need to avoid changing static empty-contact.
- if (singleCi == ContactInfo.EMPTY) {
+ if (singleCi == null || singleCi == ContactInfo.EMPTY) {
singleCi = new ContactInfo();
}
if (TextUtils.isEmpty(singleCi.name)) {