From 3fdaa329692b29c0083008bcbb5c5aa62ae7b9fd Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Tue, 13 Apr 2010 18:35:06 -0700 Subject: [PATCH] Only set ORIGINAL_INSTANCE_TIME in exceptions * We were setting this for all events, but apparently CalendarProvider does not approve, and generates warnings * Only set this for exceptions Bug: 2550631 Change-Id: I8a7152eb0d4233432b1a5b5664da964d5433fbae --- src/com/android/exchange/adapter/CalendarSyncAdapter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/com/android/exchange/adapter/CalendarSyncAdapter.java b/src/com/android/exchange/adapter/CalendarSyncAdapter.java index 12ff7e11f..3eab4fbfc 100644 --- a/src/com/android/exchange/adapter/CalendarSyncAdapter.java +++ b/src/com/android/exchange/adapter/CalendarSyncAdapter.java @@ -361,7 +361,6 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter { case Tags.CALENDAR_START_TIME: startTime = Utility.parseDateTimeToMillis(getValue()); cv.put(Events.DTSTART, startTime); - cv.put(Events.ORIGINAL_INSTANCE_TIME, startTime); break; case Tags.CALENDAR_END_TIME: endTime = Utility.parseDateTimeToMillis(getValue()); @@ -455,7 +454,6 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter { cal.set(GregorianCalendar.MINUTE, 0); cal.set(GregorianCalendar.SECOND, 0); cv.put(Events.DTSTART, cal.getTimeInMillis()); - cv.put(Events.ORIGINAL_INSTANCE_TIME, cal.getTimeInMillis()); } else { cv.put(Events.DURATION, "P" + ((endTime - startTime) / MINUTES) + "M"); }