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

Merge commit '8c742a4c65e1ff2618e1005803edb65a42994fb6' into froyo-plus-aosp

* commit '8c742a4c65e1ff2618e1005803edb65a42994fb6':
  Handle case of null organizerEmail in changed event
This commit is contained in:
Marc Blank 2010-05-27 09:59:33 -07:00 committed by Android Git Automerger
commit 77e2161559

View File

@ -552,7 +552,8 @@ public class CalendarSyncAdapter extends AbstractSyncAdapter {
addOrganizerToAttendees(ops, eventId, organizerName, organizerEmail); 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 // 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 // If the user is an attendee, set the attendee status using busyStatus (note that the