Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9a484d7 authored by tibbi's avatar tibbi
Browse files

add an SHOW_ADVANCED extra to action_open_document_tree intent

parent 1e3f89c2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ fun Activity.isShowingSAFDialog(path: String, treeUri: String, requestCode: Int)
        runOnUiThread {
            WritePermissionDialog(this, false) {
                Intent(Intent.ACTION_OPEN_DOCUMENT_TREE).apply {
                    putExtra("android.content.extra.SHOW_ADVANCED", true)
                    if (resolveActivity(packageManager) == null) {
                        type = "*/*"
                    }