[Android] Allow sharing files from SDCards

Nicolas Pomepuy git at videolan.org
Thu May 7 12:17:10 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue May  5 08:55:31 2020 +0200| [3043bf55634782d0bde3b9f7694a3bc9bcd331c4] | committer: Nicolas Pomepuy

Allow sharing files from SDCards

Fixes IllegalArgumentException

> https://code.videolan.org/videolan/vlc-android/commit/3043bf55634782d0bde3b9f7694a3bc9bcd331c4
---

 application/vlc-android/res/xml/provider_paths.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/vlc-android/res/xml/provider_paths.xml b/application/vlc-android/res/xml/provider_paths.xml
index 16d442f51..3123d01ff 100644
--- a/application/vlc-android/res/xml/provider_paths.xml
+++ b/application/vlc-android/res/xml/provider_paths.xml
@@ -3,4 +3,5 @@
     <external-path
             name="external_files"
             path="."/>
+    <root-path name="external_files" path="/storage/" />
 </paths>
\ No newline at end of file



More information about the Android mailing list