DO NOT MERGE: Set HAS_ATTENDEE_DATA to 0 for exceptions

Bug: 2891708
Change-Id: I4eb26a6fe7be13dda34ba39a766a03c901276b73
This commit is contained in:
Marc Blank 2010-08-24 17:56:33 -07:00
parent 9beb1e7a4b
commit 4e03d94ccc

View File

@ -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;