Add Cequint contact lookup result type.
Bug: 73741286
Test: none
PiperOrigin-RevId: 189377028
Change-Id: Ifb9c6375d0026fb012ae868741b471f2ca02c5f9
diff --git a/java/com/android/incallui/ContactInfoCache.java b/java/com/android/incallui/ContactInfoCache.java
index 9051338..b79fd64 100644
--- a/java/com/android/incallui/ContactInfoCache.java
+++ b/java/com/android/incallui/ContactInfoCache.java
@@ -276,7 +276,7 @@
cce.isVoicemailNumber = info.isVoiceMailNumber();
if (info.contactExists) {
- cce.contactLookupResult = ContactLookupResult.Type.LOCAL_CONTACT;
+ cce.contactLookupResult = info.contactLookupResultType;
}
}
@@ -543,6 +543,7 @@
// Set contact to exist to avoid phone number service lookup.
if (hasUpdate) {
callerInfo.contactExists = true;
+ callerInfo.contactLookupResultType = ContactLookupResult.Type.CEQUINT;
}
}