am 220d9107: am 8ba07285: Use timezone in exception ics files

Merge commit '220d9107535360b842f1a8ff872b2d22296d98b3' into kraken

* commit '220d9107535360b842f1a8ff872b2d22296d98b3':
  Use timezone in exception ics files
This commit is contained in:
Marc Blank 2010-04-29 10:51:25 -07:00 committed by Android Git Automerger
commit ba8dfde0c1

View File

@ -1416,8 +1416,11 @@ public class CalendarUtilities {
// If we're inviting people and the meeting is recurring, we need to send our time zone
// information and make sure to send DTSTART/DTEND in local time (unless, of course,
// this is an all-day event)
if (!isReply && entityValues.containsKey(Events.RRULE) && !allDayEvent) {
// this is an all-day event). Recurring, for this purpose, includes exceptions to
// recurring events
if (!isReply && !allDayEvent &&
(entityValues.containsKey(Events.RRULE) ||
entityValues.containsKey(Events.ORIGINAL_EVENT))) {
vCalendarTimeZone = TimeZone.getDefault();
// Write the VTIMEZONE block to the writer
timeZoneToVTimezone(vCalendarTimeZone, ics);