release: v2.11.1 — register calendar intent filters (#9) #49

Merged
makiolaj merged 1 commits from release/v2.11.1 into main 2026-06-28 10:32:42 +00:00
Owner

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

  • Manifest (MainActivity): MAIN+APP_CALENDAR (open-the-calendar action) and VIEW on content://com.android.calendar/time/<epochMillis> + the time/epoch mime type (a date tap).
  • MainActivity: parse the provider's time Uri into a LocalDate and 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.
  • Nav: WidgetNavRequest.OpenDate.source is now nullable — a sourceless (external) date tap roots the day view over the default home view, so Back returns home then exits.
  • Bumped to 2.11.1 (versionCode 21101); new CHANGELOG section + fastlane/.../changelogs/21101.txt.

Verification (on-device, Pixel 10 stock, debug build)

  • pm query-activities resolves both calendar intents to Calendula's MainActivity.
  • System chooser now includes Calendula for calendar actions.
  • Firing the date-tap intent for 2026-07-15 opened the Day view on Wed, 15 Jul 2026.
  • No crash in logcat.

Closes #9.

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 - **Manifest** (`MainActivity`): `MAIN`+`APP_CALENDAR` (open-the-calendar action) and `VIEW` on `content://com.android.calendar/time/<epochMillis>` + the `time/epoch` mime type (a date tap). - **MainActivity**: parse the provider's time Uri into a `LocalDate` and 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. - **Nav**: `WidgetNavRequest.OpenDate.source` is now nullable — a sourceless (external) date tap roots the day view over the default home view, so Back returns home then exits. - Bumped to **2.11.1** (versionCode 21101); new CHANGELOG section + `fastlane/.../changelogs/21101.txt`. ## Verification (on-device, Pixel 10 stock, debug build) - `pm query-activities` resolves both calendar intents to Calendula's MainActivity. - System chooser now includes Calendula for calendar actions. - Firing the date-tap intent for 2026-07-15 opened the Day view on **Wed, 15 Jul 2026**. - No crash in logcat. Closes #9.
makiolaj added 1 commit 2026-06-28 10:24:47 +00:00
fix(intents): register calendar intent filters so Calendula can be the default calendar (#9)
All checks were successful
CI / ci (pull_request) Successful in 7m51s
b6a45b7264
Calendula didn't declare the intent filters launchers and the system use for
calendar actions, so it never appeared in the "default calendar app" chooser —
on every platform, not just GrapheneOS (issue #9). Android exposes no API for an
app to set itself default, so registering these filters is the only way users can
pick it from the system picker.

Adds to MainActivity:
- MAIN + APP_CALENDAR — the "open the calendar app" action the OS/launchers use.
- VIEW on content://com.android.calendar/time/<epochMillis> and the time/epoch
  mime type — a launcher/clock date tap. The provider's time Uri is parsed into a
  LocalDate and opened on the day view, rooted over the default home view (a new
  sourceless WidgetNavRequest.OpenDate). The .ics import path now ignores the
  calendar provider host so a date tap isn't mistaken for a file to import.

Bumps to 2.11.1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
makiolaj scheduled this pull request to auto merge when all checks succeed 2026-06-28 10:26:12 +00:00
makiolaj merged commit 273cfce969 into main 2026-06-28 10:32:42 +00:00
makiolaj referenced this issue from a commit 2026-07-13 13:32:18 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: makiolaj/calendula#49