summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKen Shirriff <kens@google.com>2010-02-05 12:45:15 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-02-05 12:45:15 -0800
commit2cd2374805b721636d7bc2b02dee4b8fd3f32060 (patch)
tree4f3ff1f1760dbe66cb6667c927e5eb5197ef51c1 /core
parentcb14ec1305fac1b52e00414237d56fc8117a34ad (diff)
parent15049e46f7331b64bd3093e1d9a0365ca5caf3ae (diff)
downloadframeworks_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.java28
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);
}