diff options
author | RoboErik <epastern@google.com> | 2011-09-20 14:14:11 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-09-20 14:14:11 -0700 |
commit | 0f337df1c06035ba463bf630357a92e62e698893 (patch) | |
tree | cd7b16411bee601f3a0e7f563accd03d2be7e975 /core/java/android | |
parent | 06b7deb8c03461de8fba4098272b02d7bfb4a860 (diff) | |
parent | bbb11b80106c8687f2833c3d4b538029fc0805e6 (diff) | |
download | frameworks_base-0f337df1c06035ba463bf630357a92e62e698893.zip frameworks_base-0f337df1c06035ba463bf630357a92e62e698893.tar.gz frameworks_base-0f337df1c06035ba463bf630357a92e62e698893.tar.bz2 |
am bbb11b80: Merge "Add a warning to changing colors in the docs" into ics-factoryrom
* commit 'bbb11b80106c8687f2833c3d4b538029fc0805e6':
Add a warning to changing colors in the docs
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/provider/CalendarContract.java | 9 |
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"; |