From ceb476a584e7f0b1866821955ea3284686dd6975 Mon Sep 17 00:00:00 2001 From: Daniel Lehmann Date: Mon, 29 Aug 2011 14:37:31 -0700 Subject: [PATCH] Add the lookup_key column, which should have been in the previous CL Also added some more javadocs Bug:5134325 Change-Id: I486b753f7cfb622e0211bb7f6bd04eb18b6e1e5b --- api/current.txt | 1 + .../java/android/provider/ContactsContract.java | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/api/current.txt b/api/current.txt index c8cebced3a9aa..01819bd364c5d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -16708,6 +16708,7 @@ package android.provider { field public static final java.lang.String ACCOUNT_TYPE = "account_type"; field public static final java.lang.String COMMENTS = "comments"; field public static final java.lang.String CONTACT_ID = "contact_id"; + field public static final java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup"; field public static final java.lang.String DATA_SET = "data_set"; field public static final java.lang.String RAW_CONTACT_ID = "raw_contact_id"; field public static final java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java index e9221fe98859b..5321c6aa830af 100644 --- a/core/java/android/provider/ContactsContract.java +++ b/core/java/android/provider/ContactsContract.java @@ -3083,12 +3083,25 @@ public final class ContactsContract { /** * A reference to the {@link android.provider.ContactsContract.Contacts#_ID} * that this stream item belongs to. + * + *

Type: INTEGER

+ *

read-only

*/ public static final String CONTACT_ID = "contact_id"; + /** + * A reference to the {@link android.provider.ContactsContract.Contacts#LOOKUP_KEY} + * that this stream item belongs to. + * + *

Type: TEXT

+ *

read-only

+ */ + public static final String CONTACT_LOOKUP_KEY = "contact_lookup"; + /** * A reference to the {@link RawContacts#_ID} * that this stream item belongs to. + *

Type: INTEGER

*/ public static final String RAW_CONTACT_ID = "raw_contact_id"; @@ -3104,7 +3117,7 @@ public final class ContactsContract { * The account type to which the raw_contact of this item is associated. See * {@link RawContacts#ACCOUNT_TYPE} * - *

TYPE: text

+ *

Type: TEXT

*

read-only

*/ public static final String ACCOUNT_TYPE = "account_type"; @@ -3113,7 +3126,7 @@ public final class ContactsContract { * The account name to which the raw_contact of this item is associated. See * {@link RawContacts#ACCOUNT_NAME} * - *

TYPE: text

+ *

Type: TEXT

*

read-only

*/ public static final String ACCOUNT_NAME = "account_name";