Skip to content

Commit

Permalink
Use root-path in provider to fix IllegalArgumentException for root files
Browse files Browse the repository at this point in the history
  • Loading branch information
Unpublished authored and EmmanuelMess committed Jan 21, 2020
1 parent a7ad4ae commit 6ab9479
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/res/xml/provider_paths.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path path="Android/data/com.amaze.filemanager/" name="package_root" />
<external-path path="." name="storage_root" />
<!--
root-path is suggested in https://stackoverflow.com/q/42516126
as a workaround to access files only accessible via root
-->
<root-path path="." name="storage_root" />
</paths>

0 comments on commit 6ab9479

Please sign in to comment.