diff options
author | Eric Erfanian <erfanian@google.com> | 2017-05-03 10:27:13 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-05-03 12:01:21 -0700 |
commit | 8369df095a73a77b3715f8ae7ba06089cebca4ce (patch) | |
tree | 1a45d60921e293c6088efeaf4d9c408456f3e0e2 /java/com/android/dialer/phonenumbercache/ContactInfo.java | |
parent | afa29d4a8659eeffc8d92a6216b154f594eeb895 (diff) |
This change reflects the Dialer V10 RC00 branch.
RC00 is based on:
branch: dialer-android_release_branch/153304843.1
synced to: 153304843
following the instructions at go/dialer-aosp-release.
In this release:
* Removes final apache sources.
* Uses native lite compilation.
More drops will follow with subsequent release candidates
until we reach our final v10 release, in cadence with our
prebuilt drops.
Test: TreeHugger, on device
Change-Id: Ic9684057230f9b579c777820c746cd21bf45ec0f
Diffstat (limited to 'java/com/android/dialer/phonenumbercache/ContactInfo.java')
-rw-r--r-- | java/com/android/dialer/phonenumbercache/ContactInfo.java | 9 |
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; |