summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/com/android/incallui/ContactInfoCache.java4
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;
+ }
}
/**