Fix regression in Exchange calendar attendee response

* During the fix of a previous late-Froyo issue, a change was made that
  appeared superficially correct, but was semantically incorrect.  This
  changed the sense of the test for whether a reply email was required
  and caused the referenced bug.
* The trivial fix is to replace the test with the (older) proper one

Bug: 2764551

Change-Id: I7c72366252cf0607aee31ee0d76aca96a7d5fc2b
This commit is contained in:
Marc Blank 2010-06-28 16:07:36 -07:00
parent 9eabe155bc
commit 043969163e

View File

@ -597,7 +597,7 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter {
String attendeeEmail = attendee.getAsString(Attendees.ATTENDEE_EMAIL); String attendeeEmail = attendee.getAsString(Attendees.ATTENDEE_EMAIL);
sb.append(attendeeEmail); sb.append(attendeeEmail);
sb.append(ATTENDEE_TOKENIZER_DELIMITER); sb.append(ATTENDEE_TOKENIZER_DELIMITER);
if (selfOrganizer) { if (mEmailAddress.equalsIgnoreCase(attendeeEmail)) {
int attendeeStatus = int attendeeStatus =
CalendarUtilities.attendeeStatusFromBusyStatus(busyStatus); CalendarUtilities.attendeeStatusFromBusyStatus(busyStatus);
attendee.put(Attendees.ATTENDEE_STATUS, attendeeStatus); attendee.put(Attendees.ATTENDEE_STATUS, attendeeStatus);