From 4e03d94cccc2e798a08162c270b39233f39be093 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Tue, 24 Aug 2010 17:56:33 -0700 Subject: [PATCH] DO NOT MERGE: Set HAS_ATTENDEE_DATA to 0 for exceptions Bug: 2891708 Change-Id: I4eb26a6fe7be13dda34ba39a766a03c901276b73 --- src/com/android/exchange/adapter/CalendarSyncAdapter.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/android/exchange/adapter/CalendarSyncAdapter.java b/src/com/android/exchange/adapter/CalendarSyncAdapter.java index 25b6913e7..30b2af325 100644 --- a/src/com/android/exchange/adapter/CalendarSyncAdapter.java +++ b/src/com/android/exchange/adapter/CalendarSyncAdapter.java @@ -778,6 +778,11 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter { cv.put(Events.EVENT_LOCATION, parentCv.getAsString(Events.EVENT_LOCATION)); cv.put(Events.VISIBILITY, parentCv.getAsString(Events.VISIBILITY)); cv.put(Events.EVENT_TIMEZONE, parentCv.getAsString(Events.EVENT_TIMEZONE)); + // Exceptions should always have this set to zero, since EAS has no concept of + // separate attendee lists for exceptions; if we fail to do this, then the UI will + // allow the user to change attendee data, and this change would never get reflected + // on the server. + cv.put(Events.HAS_ATTENDEE_DATA, 0); int allDayEvent = 0;