Open moneytoo opened 3 years ago
The official DocumentsContract.EXTRA_INITIAL_URI
needs a DocumentsProvider URI instead of a file path and only the system file chooser from DocumentsUI may find it useful, because for instance, this app actually operates mainly on file paths, not DocumentsProvider URIs. See also https://stackoverflow.com/a/54099021/
As Material Files can be used as a file chooser for other apps when using Intent like
Intent.ACTION_OPEN_DOCUMENT
, it would be nice to also supportDocumentsContract.EXTRA_INITIAL_URI
to set the initial location.