diff options
Diffstat (limited to 'java/com/android/dialer/phonenumbercache/ContactInfo.java')
-rw-r--r-- | java/com/android/dialer/phonenumbercache/ContactInfo.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/com/android/dialer/phonenumbercache/ContactInfo.java b/java/com/android/dialer/phonenumbercache/ContactInfo.java index 9def939ca..5546553f9 100644 --- a/java/com/android/dialer/phonenumbercache/ContactInfo.java +++ b/java/com/android/dialer/phonenumbercache/ContactInfo.java @@ -17,6 +17,7 @@ package com.android.dialer.phonenumbercache; import android.net.Uri; +import android.support.annotation.Nullable; import android.text.TextUtils; import com.android.contacts.common.ContactsUtils.UserType; import com.android.contacts.common.util.UriUtils; @@ -58,12 +59,12 @@ public class ContactInfo { public boolean isBadData; public String objectId; public @UserType long userType; - public ContactSource.Type sourceType; + public @Nullable ContactSource.Type sourceType = ContactSource.Type.UNKNOWN_SOURCE_TYPE; /** * 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; + public boolean contactExists; /** @see android.provider.ContactsContract.CommonDataKinds.Phone#CARRIER_PRESENCE */ public int carrierPresence; |