diff options
| author | Ken Shirriff <kens@google.com> | 2010-02-05 12:45:15 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-02-05 12:45:15 -0800 |
| commit | 2cd2374805b721636d7bc2b02dee4b8fd3f32060 (patch) | |
| tree | 4f3ff1f1760dbe66cb6667c927e5eb5197ef51c1 /core | |
| parent | cb14ec1305fac1b52e00414237d56fc8117a34ad (diff) | |
| parent | 15049e46f7331b64bd3093e1d9a0365ca5caf3ae (diff) | |
| download | frameworks_base-2cd2374805b721636d7bc2b02dee4b8fd3f32060.zip frameworks_base-2cd2374805b721636d7bc2b02dee4b8fd3f32060.tar.gz frameworks_base-2cd2374805b721636d7bc2b02dee4b8fd3f32060.tar.bz2 | |
Merge "Make ACCOUNT_NAME/ACCOUNT_TYPE consistent."
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/provider/Calendar.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/core/java/android/provider/Calendar.java b/core/java/android/provider/Calendar.java index f89ba91..cb42d73 100644 --- a/core/java/android/provider/Calendar.java +++ b/core/java/android/provider/Calendar.java @@ -184,6 +184,20 @@ public final class Calendar { * <P>Type: INTEGER (long)</P> */ public static final String _SYNC_DIRTY = "_sync_dirty"; + + /** + * 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"; } /** @@ -579,20 +593,6 @@ public final class Calendar { public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/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 = "_sync_account"; - - /** - * 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 = "_sync_account_type"; - public static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver) { return new EntityIteratorImpl(cursor, resolver); } |
