summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2023-05-05 19:12:49 +0200
committerGitHub <noreply@github.com>2023-05-05 19:12:49 +0200
commit1bc053186d949a82c4c8217de2e3b4dbe5dffcd9 (patch)
tree24ccf31457537cbaf279c8a6332f68fd7f15eb03
parentaab19f3a5c35a30847cf6b3f50680a0269e795df (diff)
downloadAntennaPod-1bc053186d949a82c4c8217de2e3b4dbe5dffcd9.zip
Fix file provider not being able to share all files (#6472)
The library only looks at one of the external storage devices. If the exported log file doesn't happen to be stored on the first device, sharing it doesn't work. This is a known issue in the Android libraries: https://issuetracker.google.com/issues/37125252 This commit works around it by using an undocumented element that covers the entire file system.
-rw-r--r--app/src/main/res/xml/provider_paths.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/res/xml/provider_paths.xml b/app/src/main/res/xml/provider_paths.xml
index 0e047cf5f..404e9d493 100644
--- a/app/src/main/res/xml/provider_paths.xml
+++ b/app/src/main/res/xml/provider_paths.xml
@@ -3,4 +3,5 @@
<external-path name="external_storage" path="." />
<external-files-path name="external_file_storage" path="." />
<files-path name="name" path="." />
+ <root-path name="root" path="." />
</paths>