Merge "Sync description with exceptions" into froyo

This commit is contained in:
Marc Blank 2010-04-12 15:53:50 -07:00 committed by Android (Google) Code Review
commit b5253606ee

View File

@ -1235,7 +1235,6 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter {
s.data(Tags.CALENDAR_SENSITIVITY, "1");
}
if (!isException) {
String desc = entityValues.getAsString(Events.DESCRIPTION);
if (desc != null && desc.length() > 0) {
if (version >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) {
@ -1249,6 +1248,7 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter {
}
}
if (!isException) {
// For Exchange 2003, only upsync if the event is new
if ((version >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) || !isChange) {
s.writeStringValue(entityValues, Events.ORGANIZER, Tags.CALENDAR_ORGANIZER_EMAIL);