release: v2.11.1 — register calendar intent filters (#9) #49
Reference in New Issue
Block a user
Delete Branch "release/v2.11.1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patch release fixing issue #9: Calendula now registers the calendar-app intent filters the system/launchers use, so it appears in the chooser when you tap a date (all platforms, not just GrapheneOS). Android has no API for an app to set itself default, so registering these filters is what lets users pick Calendula from the system picker.
Changes
MainActivity):MAIN+APP_CALENDAR(open-the-calendar action) andVIEWoncontent://com.android.calendar/time/<epochMillis>+ thetime/epochmime type (a date tap).LocalDateand open the day view on it; the .ics import path now ignores the calendar provider host so a date tap isn't mistaken for a file to import.WidgetNavRequest.OpenDate.sourceis now nullable — a sourceless (external) date tap roots the day view over the default home view, so Back returns home then exits.fastlane/.../changelogs/21101.txt.Verification (on-device, Pixel 10 stock, debug build)
pm query-activitiesresolves both calendar intents to Calendula's MainActivity.Closes #9.