Skip to content

Direct secondary users to the Owner user for MMS#204

Open
m4pl wants to merge 4 commits into
GrapheneOS:mainfrom
m4pl:task/170-secondary-users-mms-tap-to-download
Open

Direct secondary users to the Owner user for MMS#204
m4pl wants to merge 4 commits into
GrapheneOS:mainfrom
m4pl:task/170-secondary-users-mms-tap-to-download

Conversation

@m4pl

@m4pl m4pl commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Closes #170

Secondary users can't download MMS, so undownloaded messages now say "Download it from the Owner user" and the auto-retrieve switches are disabled with an explanation.

Seeder: dropped a fake sms_message_uri. Because it was set, sync treated the seeded rows as real telephony messages and deleted them, so they disappeared on device. DownloadMmsAction/clearMmsStatus: added a null-URI guard so a local-only row without a telephony URI doesn't try to download. Real messages always have a URI, so nothing changes for them.

@m4pl m4pl changed the title Task/170 secondary users mms tap to download Direct secondary users to the Owner user for MMS Jul 14, 2026
@m4pl
m4pl requested review from RankoR and inthewaves July 14, 2026 14:27
@m4pl
m4pl marked this pull request as ready for review July 14, 2026 14:27
state = MmsDownloadUiModel.State.AwaitingManualDownload,
sizeBytes = 2_048L,
expiryTimestamp = 1_700_000_000_000L,
isSecondaryUser = false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isSecondaryUser = true should be checked as well

@m4pl
m4pl requested a review from RankoR July 21, 2026 13:05
@RankoR

RankoR commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Looks like secondary user will still see "Tap to download" in the conversation list.

  1. ConversationListItemUiMapper resolves the latest message status
  2. conversationListMmsDownloadTitleResId() maps IncomingAwaitingManualDownload unconditionally to message_title_manual_download
  3. ConversationListItemRow renders that string as the visible snippet
  4. ConversationListItemContentDescription also uses it for accessibility

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.

MMS "tap to download" and auto-retrieve settings is shown in secondary users despite them being nonfunctional

2 participants