Repository navigation
DocumentsUI: Open Document intent #460
Copy link
Copy link
Open
Labels
feature requestIssue is about a new feature or improving existing feature/behavior.Issue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take upIssue is not yet ready for PR authors to take up
Description
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.
<!-- @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>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestIssue is about a new feature or improving existing feature/behavior.Issue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take upIssue is not yet ready for PR authors to take up
Activity
VoxelPrismatic commentedon Jul 6, 2026
Originally posted by @naveensingh in #213
You can disable the default file picker (
com.google.android.documentsui) with adb. Right now, I am using Zhanghai's Material Files app, which does work, but is a different interface from Fossify. Without this app, I get a toast saying that no file manager is installed, even though I do have Fossify installed.VoxelPrismatic commentedon Jul 6, 2026
Originally posted by @naveensingh in #213
I will take on this risk.
Here is the entire manifest for
com.google.android.documentsuiList of exported intents and activites:
com.android.documentsui.picker.TrampolineActivityandroid.intent.action.GET_CONTENTcom.android.documentsui.picker.PickActivityandroid.intent.action.OPEN_DOCUMENTandroid.intent.action.CREATE_DOCUMENTandroid.intent.action.GET_CONTENTandroid.intent.action.OPEN_DOCUMENT_TREEcom.android.documentsui.LauncherActivityandroid.intent.action.MAINcom.android.documentsui.files.FilesActivityandroid.intent.action.MAINandroid.intent.action.VIEWcom.android.documentsui.ViewDownloadsActivityandroid.intent.action.VIEW_DOWNLOADScom.android.documentsui.ScopedAccessActivityandroid.os.storage.action.OPEN_EXTERNAL_DIRECTORYIndicating that disabling is safe, actually.