summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoboErik <epastern@google.com>2011-09-20 11:34:20 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-20 11:34:20 -0700
commitbbb11b80106c8687f2833c3d4b538029fc0805e6 (patch)
tree60bda0e519dd48900c0d1ffda23538e5f4505efa /core
parent2d69cff88e262569ac1284e2048f2a6c3aca6639 (diff)
parent4f52061b51325d8de189eb2cb1c1272b2740b8f8 (diff)
downloadframeworks_base-bbb11b80106c8687f2833c3d4b538029fc0805e6.zip
frameworks_base-bbb11b80106c8687f2833c3d4b538029fc0805e6.tar.gz
frameworks_base-bbb11b80106c8687f2833c3d4b538029fc0805e6.tar.bz2
Merge "Add a warning to changing colors in the docs" into ics-factoryrom
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/CalendarContract.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/java/android/provider/CalendarContract.java b/core/java/android/provider/CalendarContract.java
index 9ba1fdb..4b4d308 100644
--- a/core/java/android/provider/CalendarContract.java
+++ b/core/java/android/provider/CalendarContract.java
@@ -292,7 +292,9 @@ public final class CalendarContract {
*/
protected interface CalendarColumns {
/**
- * The color of the calendar
+ * The color of the calendar. This should only be updated by the sync
+ * adapter, not other apps, as changing a calendar's color can adversely
+ * affect its display.
* <P>Type: INTEGER (color value)</P>
*/
public static final String CALENDAR_COLOR = "calendar_color";
@@ -551,7 +553,6 @@ public final class CalendarContract {
* <ul>
* <li>{@link #NAME}</li>
* <li>{@link #CALENDAR_DISPLAY_NAME}</li>
- * <li>{@link #CALENDAR_COLOR}</li>
* <li>{@link #VISIBLE}</li>
* <li>{@link #SYNC_EVENTS}</li>
* </ul>
@@ -559,6 +560,7 @@ public final class CalendarContract {
* <ul>
* <li>{@link #ACCOUNT_NAME}</li>
* <li>{@link #ACCOUNT_TYPE}</li>
+ * <li>{@link #CALENDAR_COLOR}</li>
* <li>{@link #_SYNC_ID}</li>
* <li>{@link #DIRTY}</li>
* <li>{@link #OWNER_ACCOUNT}</li>
@@ -785,7 +787,8 @@ public final class CalendarContract {
public static final String EVENT_LOCATION = "eventLocation";
/**
- * A secondary color for the individual event. Column name.
+ * A secondary color for the individual event. Reserved for future use.
+ * Column name.
* <P>Type: INTEGER</P>
*/
public static final String EVENT_COLOR = "eventColor";