Skip to content

feat(watch): one Share button with a share sheet - #2606

Merged
A-EDev merged 1 commit into
mainfrom
feat/watch-share-sheet
Dec 4, 2026
Merged

A-EDev merged 1 commit into
mainfrom
feat/watch-share-sheet

Conversation

@A-EDev

@A-EDev A-EDev commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • New "One Share button" switch in Action buttons folds Copy link and Copy at time into Share.
  • Share then opens a sheet: recent apps, Copy link, More apps, and a "Start at" switch that adds &t= to the link.
  • Recent apps are learned from the system chooser callback, kept on this device only and left out of backups.
  • With the switch off, Share opens the system chooser as before. The copy toast only shows below Android 13, where the system has no clipboard preview.

Related issue

Closes #2589

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug
  • ./gradlew :app:testGithubDebugUnitTest
  • I ran any additional flavor-specific build or test tasks affected by this change.
  • I manually tested the affected behavior on an Android device or emulator.

ktlintCheck and :app:compileFossDebugKotlin pass.

On the emulator: chooser with the switch off, the sheet with it on, Start at in the shared text, Chrome learned after one pick and sent to directly from the recent row, Copy link shown in the system clipboard preview.

Test device and Android version: Android emulator, Android 17 (API 37), tablet layout 1920x1200

Screenshots or recordings

Risk and compatibility

On by default for new installs only; upgraders keep separate copy buttons. Adds a non-exported broadcast receiver for the chooser callback (mutable PendingIntent on Android 12+, needed for the chosen component extra) and a <queries> entry for text sharing so recent apps resolve. Stacked on #2603.

  • The change does not introduce secrets, private data, or unexpected telemetry.
  • New user-facing text uses Android string resources.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.
  • Breaking changes and upgrade steps are clearly documented.

@A-EDev A-EDev mentioned this pull request Dec 4, 2026
10 of 14 tasks
@A-EDev
A-EDev changed the base branch from feat/watch-share-first to main December 4, 2026 15:39
@A-EDev
A-EDev force-pushed the feat/watch-share-sheet branch from 10f2f13 to d3f9823 Compare December 4, 2026 15:39
@A-EDev
A-EDev merged commit 7501895 into main Dec 4, 2026
8 checks passed
@A-EDev
A-EDev deleted the feat/watch-share-sheet branch December 4, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Simplify Share, copy and copy timestamp action buttons

1 participant