summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2018-11-13 17:01:26 +0800
committerjunjiez <junjiez@codeaurora.org>2018-11-22 15:02:41 +0800
commit7c6746586829914560ac22dd2d5dc7cde4dad240 (patch)
tree5b636d0a05d7b6507f97de74eb53b790a975ea62
parent41de1355ef13aa6ed7793415ee6cb40cd8386f4e (diff)
downloadandroid_packages_apps_Gallery2-7c6746586829914560ac22dd2d5dc7cde4dad240.tar.gz
android_packages_apps_Gallery2-7c6746586829914560ac22dd2d5dc7cde4dad240.tar.bz2
android_packages_apps_Gallery2-7c6746586829914560ac22dd2d5dc7cde4dad240.zip
SnapdraongGallery:Fix FileProvider permission
Set exported property of FileProvider to true to avoid SecurityException when gallery is called from 3rd-party app. Change-Id: Ie22398753bd7482b02027c5243d74702330b3e19 CRs-Fixed: 2337962
-rwxr-xr-xAndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 25371f922..3902bc03e 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -319,7 +319,7 @@
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com.android.gallery3d.fileprovider"
- android:exported="false"
+ android:exported="true"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"