From d6b91d1f57b6da8e09a459609498b49abafe5445 Mon Sep 17 00:00:00 2001 From: wangqi Date: Tue, 30 Jan 2018 16:59:03 -0800 Subject: Don't override contactExists if there is no update from Cequint Caller ID. Bug: 72485878 Test: none PiperOrigin-RevId: 183915863 Change-Id: Ib035855d944c91145418222cc390be066744b4fb --- java/com/android/incallui/ContactInfoCache.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'java') diff --git a/java/com/android/incallui/ContactInfoCache.java b/java/com/android/incallui/ContactInfoCache.java index fc41df469..d2ae70939 100644 --- a/java/com/android/incallui/ContactInfoCache.java +++ b/java/com/android/incallui/ContactInfoCache.java @@ -541,7 +541,9 @@ public class ContactInfoCache implements OnImageLoadCompleteListener { hasUpdate = true; } // Set contact to exist to avoid phone number service lookup. - callerInfo.contactExists = hasUpdate; + if (hasUpdate) { + callerInfo.contactExists = true; + } } /** -- cgit v1.2.3