Commit ef872cf3 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Calendars: only allow BUSY and FREE for AVAILABILITY (= TRANSP) of events

parent 6415355a
Pipeline #96328415 passed with stages
in 4 minutes and 41 seconds
......@@ -40,7 +40,7 @@ abstract class AndroidCalendar<out T: AndroidEvent>(
*/
val calendarBaseValues = ContentValues(3)
init {
calendarBaseValues.put(Calendars.ALLOWED_AVAILABILITY, "${Events.AVAILABILITY_BUSY},${Events.AVAILABILITY_FREE},${Events.AVAILABILITY_TENTATIVE}")
calendarBaseValues.put(Calendars.ALLOWED_AVAILABILITY, "${Events.AVAILABILITY_BUSY},${Events.AVAILABILITY_FREE}")
calendarBaseValues.put(Calendars.ALLOWED_ATTENDEE_TYPES, "${Attendees.TYPE_NONE},${Attendees.TYPE_OPTIONAL},${Attendees.TYPE_REQUIRED},${Attendees.TYPE_RESOURCE}")
calendarBaseValues.put(Calendars.ALLOWED_REMINDERS, "${Reminders.METHOD_DEFAULT},${Reminders.METHOD_ALERT},${Reminders.METHOD_EMAIL}")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment