summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Plotnikov <dplotnikov@google.com>2010-10-19 15:49:25 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-10-19 15:49:25 -0700
commit99291b95b2ee1e1b2371806e6f6c96767a350c88 (patch)
tree8ce37719cf2581ebf7dd889a95c00a1f568f0ecc
parent02655e5cc82ffb1d348e4e665707149f6e5e9add (diff)
parentbb54929f76dab7d64c817df32cfbd353e1ae0be6 (diff)
downloadframeworks_base-99291b95b2ee1e1b2371806e6f6c96767a350c88.zip
frameworks_base-99291b95b2ee1e1b2371806e6f6c96767a350c88.tar.gz
frameworks_base-99291b95b2ee1e1b2371806e6f6c96767a350c88.tar.bz2
Merge "Adding Insert.DATA extra for new/edit contact intents."
-rw-r--r--core/java/android/provider/ContactsContract.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java
index 36e2c56..baf3505 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";
}
}
}