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

This commit is contained in:
Marc Blank 2010-05-27 23:05:10 -07:00 committed by Android Git Automerger
commit c1840b2c9d

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