am 77e21615: am 8c742a4c: Handle case of null organizerEmail in changed event

Merge commit '77e2161559467ac94ffdbaa2d51716354741ae17' into kraken

* commit '77e2161559467ac94ffdbaa2d51716354741ae17':
  Handle case of null organizerEmail in changed event
This commit is contained in:
Marc Blank 2010-05-27 10:01:19 -07:00 committed by Android Git Automerger
commit 930cdbd8ba

View File

@ -552,7 +552,8 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter {
addOrganizerToAttendees(ops, eventId, organizerName, organizerEmail);
}
boolean selfOrganizer = (organizerEmail.equals(mEmailAddress));
// Note that organizerEmail can be null with a DTSTAMP only change from the server
boolean selfOrganizer = (mEmailAddress.equals(organizerEmail));
// Store email addresses of attendees (in a tokenizable string) in ExtendedProperties
// If the user is an attendee, set the attendee status using busyStatus (note that the