diff options
author | Ken Shirriff <kens@google.com> | 2009-09-30 23:17:05 -0700 |
---|---|---|
committer | Ken Shirriff <kens@google.com> | 2009-09-30 23:17:42 -0700 |
commit | 710d4ade10aca9a6d9b52538a9cb20b346f6bbd5 (patch) | |
tree | 22c83789e1f17d1b851772f690983ad1f0595bd0 | |
parent | 4f90aa9f94f2d4512fe438964f83aa278d29cc0e (diff) | |
download | Calendar-710d4ade10aca9a6d9b52538a9cb20b346f6bbd5.tar.gz |
Add hasAttendeeData for new events.
This is necessary for the guests field to be editable before the event is synced.
-rw-r--r-- | src/com/android/calendar/EditEvent.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/calendar/EditEvent.java b/src/com/android/calendar/EditEvent.java index d70f5ca6..6beb301b 100644 --- a/src/com/android/calendar/EditEvent.java +++ b/src/com/android/calendar/EditEvent.java @@ -1433,6 +1433,8 @@ public class EditEvent extends Activity implements View.OnClickListener, // For recurring events, we must make sure that we use duration rather // than dtend. if (uri == null) { + // Add hasAttendeeData for a new event + values.put(Events.HAS_ATTENDEE_DATA, 1); // Create new event with new contents addRecurrenceRule(values); eventIdIndex = ops.size(); |