Skip to content

DocumentsUI: Open Document intent #460

Description

@VoxelPrismatic

Checklist

  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Feature description

I would like to use this app to replace the default com.google.android.documentsui file upload picker app. This intent will mark the app as a file picker, allowing me to actually replace the default app with Fossify.

Why do you want this feature?

Mainly because the default file upload picker app doesn't remember my sorting preference whatsoever, meaning I constantly have to re-sort the videos folder to Modified Descending whenever I want to upload a recent video.

Additional information

There is this excerpt from Material Files which shows the values necessary in the AndroidManifest.xml to mark this app as a file picker to be used in place of the default documentsui app.

https://github.com/zhanghai/MaterialFiles/blob/master/app%2Fsrc%2Fmain%2FAndroidManifest.xml#L111-L117

            <!-- @see https://android.googlesource.com/platform/packages/apps/DocumentsUI/+/main/AndroidManifest.xml -->
            <intent-filter>
                <action android:name="android.intent.action.OPEN_DOCUMENT" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.OPENABLE" />
                <data android:mimeType="*/*" />
            </intent-filter>

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions