summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-12-14 10:41:33 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-12-14 10:41:33 -0800
commitba8e4d240b3d5eaebbdba9351b247ac20bedadc5 (patch)
treef1beae87da09c237c85db265947e4f327fb275f6 /core
parent7762d93621f508f4410fd37b5bbdfec0071b0420 (diff)
parentb5343691e1a537723c47a027d77b3dda212417ef (diff)
downloadframeworks_base-ba8e4d240b3d5eaebbdba9351b247ac20bedadc5.zip
frameworks_base-ba8e4d240b3d5eaebbdba9351b247ac20bedadc5.tar.gz
frameworks_base-ba8e4d240b3d5eaebbdba9351b247ac20bedadc5.tar.bz2
Merge change Ib5343691 into eclair-mr2
* changes: Add account name / type query parameters for calendar Events.
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/Calendar.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/provider/Calendar.java b/core/java/android/provider/Calendar.java
index 2286bb2..5e36852 100644
--- a/core/java/android/provider/Calendar.java
+++ b/core/java/android/provider/Calendar.java
@@ -583,6 +583,20 @@ public final class Calendar {
*/
public static final Uri CONTENT_URI = Uri.parse("content://calendar/event_entities");
+ /**
+ * The name of the account instance to which this row belongs, which when paired with
+ * {@link #ACCOUNT_TYPE} identifies a specific account.
+ * <P>Type: TEXT</P>
+ */
+ public static final String ACCOUNT_NAME = "account_name";
+
+ /**
+ * The type of account to which this row belongs, which when paired with
+ * {@link #ACCOUNT_NAME} identifies a specific account.
+ * <P>Type: TEXT</P>
+ */
+ public static final String ACCOUNT_TYPE = "account_type";
+
public static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver) {
return new EntityIteratorImpl(cursor, resolver);
}