Skip to content

Commit e6e47f0

Browse files
alonalbertAndroid (Google) Code Review
authored andcommitted
Merge "Add a displayColor column to view_events"
2 parents 8dc3cc2 + dc92730 commit e6e47f0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

api/current.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16003,6 +16003,7 @@ package android.provider {
1600316003
field public static final java.lang.String CALENDAR_ID = "calendar_id";
1600416004
field public static final java.lang.String CAN_INVITE_OTHERS = "canInviteOthers";
1600516005
field public static final java.lang.String DESCRIPTION = "description";
16006+
field public static final java.lang.String DISPLAY_COLOR = "displayColor";
1600616007
field public static final java.lang.String DTEND = "dtend";
1600716008
field public static final java.lang.String DTSTART = "dtstart";
1600816009
field public static final java.lang.String DURATION = "duration";

core/java/android/provider/CalendarContract.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,17 @@ protected interface EventsColumns {
855855
*/
856856
public static final String EVENT_COLOR_KEY = "eventColor_index";
857857

858+
/**
859+
* This will be {@link #EVENT_COLOR} if it is not null; otherwise, this will be
860+
* {@link Calendars#CALENDAR_COLOR}.
861+
* Read-only value. To modify, write to {@link #EVENT_COLOR} or
862+
* {@link Calendars#CALENDAR_COLOR} directly.
863+
*<P>
864+
* Type: INTEGER
865+
*</P>
866+
*/
867+
public static final String DISPLAY_COLOR = "displayColor";
868+
858869
/**
859870
* The event status. Column name.
860871
* <P>Type: INTEGER (one of {@link #STATUS_TENTATIVE}...)</P>

0 commit comments

Comments
 (0)