diff options
| author | 2009-12-11 15:32:09 -0800 | |
|---|---|---|
| committer | 2009-12-11 15:33:25 -0800 | |
| commit | b5343691e1a537723c47a027d77b3dda212417ef (patch) | |
| tree | 16bfa929c5c24d736896378808a53bb6ea129614 | |
| parent | b7f0367cec1c744aa66ef397b0244e25d507491c (diff) | |
Add account name / type query parameters for calendar Events.
| -rw-r--r-- | core/java/android/provider/Calendar.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/provider/Calendar.java b/core/java/android/provider/Calendar.java index 2286bb24eba3..5e3685224360 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); } |