summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/phonenumbercache
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/phonenumbercache')
-rw-r--r--java/com/android/dialer/phonenumbercache/ContactInfoHelper.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/com/android/dialer/phonenumbercache/ContactInfoHelper.java b/java/com/android/dialer/phonenumbercache/ContactInfoHelper.java
index 777175e00..4302436a7 100644
--- a/java/com/android/dialer/phonenumbercache/ContactInfoHelper.java
+++ b/java/com/android/dialer/phonenumbercache/ContactInfoHelper.java
@@ -625,16 +625,16 @@ public class ContactInfoHelper {
if (cequintCallerIdContact == null) {
return;
}
- if (TextUtils.isEmpty(info.name) && !TextUtils.isEmpty(cequintCallerIdContact.name)) {
- info.name = cequintCallerIdContact.name;
+ if (TextUtils.isEmpty(info.name) && !TextUtils.isEmpty(cequintCallerIdContact.name())) {
+ info.name = cequintCallerIdContact.name();
}
- if (!TextUtils.isEmpty(cequintCallerIdContact.geoDescription)) {
- info.geoDescription = cequintCallerIdContact.geoDescription;
+ if (!TextUtils.isEmpty(cequintCallerIdContact.geolocation())) {
+ info.geoDescription = cequintCallerIdContact.geolocation();
info.sourceType = ContactSource.Type.SOURCE_TYPE_CEQUINT_CALLER_ID;
}
// Only update photo if local lookup has no result.
- if (!info.contactExists && info.photoUri == null && cequintCallerIdContact.imageUrl != null) {
- info.photoUri = UriUtils.parseUriOrNull(cequintCallerIdContact.imageUrl);
+ if (!info.contactExists && info.photoUri == null && cequintCallerIdContact.photoUri() != null) {
+ info.photoUri = UriUtils.parseUriOrNull(cequintCallerIdContact.photoUri());
}
}
}