summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/ContactInfoCache.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-03-16 20:48:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-03-16 20:48:46 +0000
commit51d7805925a35fa7e84c1d235ea53519aabec9c5 (patch)
tree902dc330a95cf013b397dbb1473b0895b51790a9 /java/com/android/incallui/ContactInfoCache.java
parent5d8174bbf342c5890374beb8a8856067f0dee080 (diff)
parent262b6f2355b93d0e282d39ef16d222a65d450d16 (diff)
Merge "Add Cequint contact lookup result type."
Diffstat (limited to 'java/com/android/incallui/ContactInfoCache.java')
-rw-r--r--java/com/android/incallui/ContactInfoCache.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/incallui/ContactInfoCache.java b/java/com/android/incallui/ContactInfoCache.java
index 90513381e..b79fd641a 100644
--- a/java/com/android/incallui/ContactInfoCache.java
+++ b/java/com/android/incallui/ContactInfoCache.java
@@ -276,7 +276,7 @@ public class ContactInfoCache implements OnImageLoadCompleteListener {
cce.isVoicemailNumber = info.isVoiceMailNumber();
if (info.contactExists) {
- cce.contactLookupResult = ContactLookupResult.Type.LOCAL_CONTACT;
+ cce.contactLookupResult = info.contactLookupResultType;
}
}
@@ -543,6 +543,7 @@ public class ContactInfoCache implements OnImageLoadCompleteListener {
// Set contact to exist to avoid phone number service lookup.
if (hasUpdate) {
callerInfo.contactExists = true;
+ callerInfo.contactLookupResultType = ContactLookupResult.Type.CEQUINT;
}
}