From 262b6f2355b93d0e282d39ef16d222a65d450d16 Mon Sep 17 00:00:00 2001 From: wangqi Date: Fri, 16 Mar 2018 12:27:56 -0700 Subject: Add Cequint contact lookup result type. Bug: 73741286 Test: none PiperOrigin-RevId: 189377028 Change-Id: Ifb9c6375d0026fb012ae868741b471f2ca02c5f9 --- java/com/android/incallui/ContactInfoCache.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java/com/android/incallui/ContactInfoCache.java') 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; } } -- cgit v1.2.3