Skip to content

Re-pairing can show the legacy "Permissions have changed … Pair again" notice to a person #1127

Closed

Description

@Jacksondr5

After re-pairing a phone from a Viewer back to an Owner, Android showed upstream's pre-people "Permissions have changed for … Pair again" dialog. J5 means to hide that notice for people-based connections, and the base build's matching clip doesn't show it. Seen in J5 PR #1111's device evidence, at head 0b57f9c0fe.

Likely cause (from review, not yet traced on a device): permissionNoticeApplies in packages/client-runtime/src/j5/sharing.ts (around line 183) treats a settled access answer with no value as "not a person". A failed access read during reconnect is one example. So right after a re-pair, a person can briefly qualify for the legacy notice.

Expected: the legacy notice applies only when a successful access answer says the connection's kind isn't a person (and isn't unknown). A failed or pending read never shows it.

Add a case to the existing sharing.test.ts that fails on j5/main for a settled-with-failure answer.

Activity

  1. added this to the Mobile design pass milestone on Nov 21, 2026
  2. added
    bug
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions