diff options
author | wangqi <wangqi@google.com> | 2018-01-30 16:59:03 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-30 17:46:23 -0800 |
commit | d6b91d1f57b6da8e09a459609498b49abafe5445 (patch) | |
tree | b788d5c1b5b752e88e8676806895b8ef638f310f /java | |
parent | 73b231dfc38d895eb6f05f86c61a49a728f9d8b9 (diff) |
Don't override contactExists if there is no update from Cequint Caller ID.
Bug: 72485878
Test: none
PiperOrigin-RevId: 183915863
Change-Id: Ib035855d944c91145418222cc390be066744b4fb
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/incallui/ContactInfoCache.java | 4 |
1 files changed, 3 insertions, 1 deletions
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; + } } /** |