@@ -467,6 +467,13 @@ protected interface CalendarColumns {
467467 *
468468 */
469469 public static final String ALLOWED_ATTENDEE_TYPES = "allowedAttendeeTypes" ;
470+
471+ /**
472+ * Is this the primary calendar for this account. If this column is not explicitly set, the
473+ * provider will return 1 if {@link Calendars#ACCOUNT_NAME} is equal to
474+ * {@link Calendars#OWNER_ACCOUNT}.
475+ */
476+ public static final String IS_PRIMARY = "isPrimary" ;
470477 }
471478
472479 /**
@@ -1205,6 +1212,14 @@ protected interface EventsColumns {
12051212 */
12061213 public static final String ORGANIZER = "organizer" ;
12071214
1215+ /**
1216+ * Are we the organizer of this event. If this column is not explicitly set, the provider
1217+ * will return 1 if {@link #ORGANIZER} is equal to {@link Calendars#OWNER_ACCOUNT}.
1218+ * Column name.
1219+ * <P>Type: STRING</P>
1220+ */
1221+ public static final String IS_ORGANIZER = "isOrganizer" ;
1222+
12081223 /**
12091224 * Whether the user can invite others to the event. The
12101225 * GUESTS_CAN_INVITE_OTHERS is a setting that applies to an arbitrary
@@ -1368,6 +1383,7 @@ public Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException
13681383 DatabaseUtils .cursorStringToContentValuesIfPresent (cursor , cv , CUSTOM_APP_PACKAGE );
13691384 DatabaseUtils .cursorStringToContentValuesIfPresent (cursor , cv , CUSTOM_APP_URI );
13701385 DatabaseUtils .cursorStringToContentValuesIfPresent (cursor , cv , ORGANIZER );
1386+ DatabaseUtils .cursorStringToContentValuesIfPresent (cursor , cv , IS_ORGANIZER );
13711387 DatabaseUtils .cursorStringToContentValuesIfPresent (cursor , cv , _SYNC_ID );
13721388 DatabaseUtils .cursorLongToContentValuesIfPresent (cursor , cv , DIRTY );
13731389 DatabaseUtils .cursorLongToContentValuesIfPresent (cursor , cv , LAST_SYNCED );
0 commit comments