Files
amethyst/nappletHost
Vitor PamplonaandClaude Opus 5 dc5932a812 feat(browser): name the browser the hand-off tile will open
"Other browser" says what it is not. When the system will name a default, the
tile now says "Open in Chrome" — which is also the answer to "where does this
go?", the question the tile exists to answer.

Knowing the name took a `<queries>` entry. Android 11+ package visibility
answers `resolveActivity` with nothing for a scheme the manifest does not
declare, so the app could see every payment scheme it had asked about and not
https. One entry alongside those, read-only: it names the target, it does not
change where anything goes.

`defaultBrowserName` is null whenever a name would be a promise we cannot
keep — no default set (the system resolves to its own picker, which would
otherwise be labelled "Android System"), the only handler is Amethyst, or
visibility still hides it. The tile falls back to "Open in browser" and the
hand-off keeps going through a chooser either way, so a wrong answer here
costs a label and never a mis-launch.

Only the full-screen browser passes a name so far; the embedded tab still
shows the generic label.

Verified on an SM-T220: the tile reads "Open in Chrome", on one line.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-26 18:26:22 -04:00
..