diff options
author | KhabarlakKonstantin <habarlack@gmail.com> | 2017-09-26 09:02:11 +0300 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2017-12-16 06:54:10 +0100 |
commit | 250274e49a25d2e61276ba4e310409135f9973de (patch) | |
tree | b48707046e5bcc7230cc778112c710033b18c2ff /AndroidManifest.xml | |
parent | 88a043ff10f2db801b1985dbcb77d0a05174f048 (diff) | |
download | android_packages_apps_Gallery2-250274e49a25d2e61276ba4e310409135f9973de.tar.gz android_packages_apps_Gallery2-250274e49a25d2e61276ba4e310409135f9973de.tar.bz2 android_packages_apps_Gallery2-250274e49a25d2e61276ba4e310409135f9973de.zip |
Fix gallery crash when trimming video
Fixes FileUriExposedException. Exposing files with Uri.fromFile is
forbidden in Nougat
Change-Id: Iab48e599f801459fa3db0c9c6f68f1cfd54460c6
Diffstat (limited to 'AndroidManifest.xml')
-rwxr-xr-x | AndroidManifest.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index ad83d270a..349199274 100755 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -264,6 +264,16 @@ android:readPermission="org.codeaurora.gallery.filtershow.permission.READ" android:writePermission="org.codeaurora.gallery.filtershow.permission.WRITE" /> + <provider + android:name="android.support.v4.content.FileProvider" + android:authorities="com.android.gallery3d.fileprovider" + android:exported="false" + android:grantUriPermissions="true"> + <meta-data + android:name="android.support.FILE_PROVIDER_PATHS" + android:resource="@xml/provider_paths" /> + </provider> + <service android:name="com.android.gallery3d.filtershow.pipeline.ProcessingService" android:exported="false" /> |