summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-02-03 12:47:14 -0600
committerSamuel Holland <samuel@sholland.org>2018-02-03 12:47:14 -0600
commitb22e2b259bc0e6287bbcdec4a13bb84689d1c08f (patch)
tree8be34f4f5695dff9a7c9fe3bcf75f97fd176b74c
parenta66348c3156868e48ac4adf29d1749ab5f56992b (diff)
manifest: Add permission to read external storage
This fixes support for file managers that don't proxy the file access from the file selection dialog through a content provider, and just return a raw file:// URL. In this case, resolver.openInputStream() tries to open the file directly, and fails with "Permission denied". Signed-off-by: Samuel Holland <samuel@sholland.org>
-rw-r--r--app/src/main/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 24eb7828..8104350f 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -5,6 +5,7 @@
android:installLocation="internalOnly">
<uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application