Upload cancellation exceptions properly

* This was an omission in the code that is now handled

Bug: 2501136
Change-Id: Ib4615e04a1ef61cf07cd356eb3038da3e74a5470
This commit is contained in:
Marc Blank 2010-03-09 13:01:40 -08:00
parent 8b8145ebd3
commit b5dce15068
1 changed files with 6 additions and 0 deletions

View File

@ -1220,6 +1220,12 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter {
} else {
// Illegal; what should we do?
}
// Send exception deleted flag if necessary
Integer eventStatus = entityValues.getAsInteger(Events.STATUS);
if (eventStatus != null && eventStatus.equals(Events.STATUS_CANCELED)) {
s.data(Tags.CALENDAR_EXCEPTION_IS_DELETED, "1");
}
}
return hasAttendees;