From 043969163e8629a4d3b583b73dfa29c6e97989c0 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Mon, 28 Jun 2010 16:07:36 -0700 Subject: [PATCH] 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 --- src/com/android/exchange/adapter/CalendarSyncAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/exchange/adapter/CalendarSyncAdapter.java b/src/com/android/exchange/adapter/CalendarSyncAdapter.java index cfefb6798..25b6913e7 100644 --- a/src/com/android/exchange/adapter/CalendarSyncAdapter.java +++ b/src/com/android/exchange/adapter/CalendarSyncAdapter.java @@ -597,7 +597,7 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter { String attendeeEmail = attendee.getAsString(Attendees.ATTENDEE_EMAIL); sb.append(attendeeEmail); sb.append(ATTENDEE_TOKENIZER_DELIMITER); - if (selfOrganizer) { + if (mEmailAddress.equalsIgnoreCase(attendeeEmail)) { int attendeeStatus = CalendarUtilities.attendeeStatusFromBusyStatus(busyStatus); attendee.put(Attendees.ATTENDEE_STATUS, attendeeStatus);