Skip to content

Conversation

@vicajilau
Copy link
Collaborator

Restores the ms[df] URI handling logic in FileUtils.kt to fix file selection returning null on some devices. fixes #1922, fixes #1916

@navaronbracke
Copy link
Collaborator

@vicajilau Also, once the comment is addressed, don't forget the changelog / patch version :)

Copy link
Collaborator

@navaronbracke navaronbracke left a comment

Choose a reason for hiding this comment

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

LGTM! "Media Store File" and "Media Store Directory" makes way more sense now, thanks!

Restricts the usage of `ACTION_PICK` to `image/*` mime types only. Replaces `ACTION_GET_CONTENT` with `ACTION_OPEN_DOCUMENT` for general file selection to ensure consistent document access.
Adds KDoc documentation to `startFileExplorer` methods to clarify parameters and functionality. Includes inline comments explaining the preference for `ACTION_PICK` for images and `ACTION_OPEN_DOCUMENT` for persistent URI access.
Copy link
Collaborator

@navaronbracke navaronbracke left a comment

Choose a reason for hiding this comment

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

One minor doc nit, but otherwise LGTM.

@navaronbracke
Copy link
Collaborator

We can ship this, once the tests pass.

Co-authored-by: Navaron Bracke <[email protected]>
@navaronbracke navaronbracke merged commit 5988b2c into master Dec 18, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants