diff options
| author | 2010-10-18 20:37:02 -0700 | |
|---|---|---|
| committer | 2010-10-18 20:37:02 -0700 | |
| commit | bb54929f76dab7d64c817df32cfbd353e1ae0be6 (patch) | |
| tree | e0c8d54b234040f4f12df185a74036574c6a9a54 | |
| parent | 1f696ffcdd96c2c1d74ea3c8037bb335ea4a92d7 (diff) | |
Adding Insert.DATA extra for new/edit contact intents.
This is a way to supply any amount of arbitrary initial
values for the newly created contacts or additional
data for an existing contact.
Change-Id: Iec050cf9177be2ffb115e473dcd43ef37e5bbd5e
| -rw-r--r-- | core/java/android/provider/ContactsContract.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java index 36e2c5653513..baf350562a61 100644 --- a/core/java/android/provider/ContactsContract.java +++ b/core/java/android/provider/ContactsContract.java @@ -6642,6 +6642,19 @@ public final class ContactsContract { * <P>Type: boolean</P> */ public static final String IM_ISPRIMARY = "im_isprimary"; + + /** + * The extra field that allows the client to supply multiple rows of + * arbitrary data for the contact (insert or edit). It is a list of + * ContentValues, one per data row. Supplying this extra is + * basically equivalent to inserting multiple rows into the + * {@link Data} table, except the user gets a chance to see and edit + * them before saving. Each ContentValues object must have a value + * for {@link Data#MIMETYPE}. + * + * @hide + */ + public static final String DATA = "data"; } } } |