1195535852
Give each gallery image cell and each per-visit file row its own share control: a 48dp IconButton with an accurate "Share <name>" content description drawn as a sibling of the item's tap handler, so sharing never opens the image or the item. Sharing fetches the artifact through the existing client into a scoped cache file (cache/shared-artifacts/), exposed via a non-exported FileProvider declared with the new res/xml/file_paths.xml, and sends it through ACTION_SEND. When the fetch returns nothing the action falls back to sharing the resolved link as text. Cache files are named deterministically per artifact so re-sharing overwrites instead of growing without bound, and a failed or unreachable fetch cannot crash. The artifact-to-file naming, mime/extension table and the file-vs-link fallback decision are factored into ArtifactSharing.kt and covered by the new ArtifactSharingTest.kt. The existing open and copy-link actions are unchanged; the viewer's action scrim alpha is shared as ARTIFACT_ACTION_SCRIM_ALPHA. android/README.md documents the provider and the share flow. No new dependency is added.