Skip to content

refactor(ReceiveExternalFilesActivity): modernize and harden intent parsing for file uploads#16266

Draft
joshtrichards wants to merge 4 commits into
masterfrom
jtr/refactor-ReceiveExternalFilesActivity-StreamsToUpload
Draft

refactor(ReceiveExternalFilesActivity): modernize and harden intent parsing for file uploads#16266
joshtrichards wants to merge 4 commits into
masterfrom
jtr/refactor-ReceiveExternalFilesActivity-StreamsToUpload

Conversation

@joshtrichards

Copy link
Copy Markdown
Member
  • Refactor prepareStreamsToUpload() to use IntentCompat for safer extra access
  • Add defensive state reset of mStreamsToUpload
  • Use null-safety and explicit logging for incoming URIs
  • Clarify handling of multiple, single, and text uploads
  • Improve code clarity with early returns and error handling
  • Tests written, or not not needed

…arity

Signed-off-by: Josh <josh.t.richards@gmail.com>
…arsing for file uploads

- Refactor prepareStreamsToUpload() to use IntentCompat for safer extra access
- Add defensive state reset of mStreamsToUpload
- Use null-safety and explicit logging for incoming URIs
- Clarify handling of multiple, single, and text uploads
- Improve code clarity with early returns and error handling

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@github-actions

Copy link
Copy Markdown

test-Unit test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions

Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@alperozturk96

Copy link
Copy Markdown
Collaborator

Hi! Thanks for your contribution.

This PR has been in draft for some time, so we'd like to check whether you're still planning to work on it.

If the PR is still valid and you intend to continue, please mark it as Ready for Review (remove the draft status) and add the review label. We'll then be happy to take a look.

If you no longer plan to continue with this PR, please let us know so we can keep the backlog up to date.

Thanks!

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.

2 participants