summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/phonenumbercache/ContactInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/phonenumbercache/ContactInfo.java')
-rw-r--r--java/com/android/dialer/phonenumbercache/ContactInfo.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/java/com/android/dialer/phonenumbercache/ContactInfo.java b/java/com/android/dialer/phonenumbercache/ContactInfo.java
index dab5e4b4c..9def939ca 100644
--- a/java/com/android/dialer/phonenumbercache/ContactInfo.java
+++ b/java/com/android/dialer/phonenumbercache/ContactInfo.java
@@ -20,7 +20,7 @@ import android.net.Uri;
import android.text.TextUtils;
import com.android.contacts.common.ContactsUtils.UserType;
import com.android.contacts.common.util.UriUtils;
-import com.android.dialer.phonenumbercache.CachedNumberLookupService.CachedContactInfo.ContactSourceType;
+import com.android.dialer.logging.ContactSource;
/** Information for a contact as needed by the Call Log. */
public class ContactInfo {
@@ -58,7 +58,12 @@ public class ContactInfo {
public boolean isBadData;
public String objectId;
public @UserType long userType;
- public @ContactSourceType int sourceType = 0;
+ public ContactSource.Type sourceType;
+ /**
+ * True if local contact exists. This is only used for Cequint Caller ID so it won't overwrite
+ * photo if local contact exists.
+ */
+ boolean contactExists;
/** @see android.provider.ContactsContract.CommonDataKinds.Phone#CARRIER_PRESENCE */
public int carrierPresence;