SufficientlySecure / birthday-calendar

Display all contact birthdays automatically in your standard Android calendar.
https://www.schuermann.eu/android/
GNU General Public License v3.0
95 stars 28 forks source link

Calendar app does not allow "Change only this event" for events from calendars with CalendarContract.ACCOUNT_TYPE_LOCAL #67

Closed dschuermann closed 11 years ago

dschuermann commented 11 years ago

Bug report copied here from upstream AOSP: http://code.google.com/p/android/issues/detail?id=58779

As can be seen in [1] Android's default calendar app does not allow to change single instances of an event when the event is not synced (_SYNC_ID is empty). As local calendars created by CalendarContract.ACCOUNT_TYPE_LOCAL are never synchronized, the option will never be available.

Fix: Don't check for syncId for events from calendars with ACCOUNT_TYPE_LOCAL.

Bug report from my app Offline Calendar: https://github.com/dschuermann/offline-calendar/issues/14

[1] method displayEditWhichDialog() at line 715 at https://android.googlesource.com/platform/packages/apps/Calendar/+/master/src/com/android/calendar/event/EditEventFragment.java

dschuermann commented 11 years ago

wrong project...