[Android] FileProvider: set exported

Geoffrey Métais git at videolan.org
Wed May 22 18:24:30 CEST 2019


vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 21 13:52:01 2019 +0200| [172e07b00384e396d5f084275483f4edcd613a9c] | committer: Geoffrey Métais

FileProvider: set exported

Otherwise, video thumbnails are not available on some TV devices

(cherry picked from commit 3d77150de3b35c426710784d277bc8afd03aa532)

> https://code.videolan.org/videolan/vlc-android/commit/172e07b00384e396d5f084275483f4edcd613a9c
---

 vlc-android/AndroidManifest.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 291b602c8..45fb170f1 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -635,8 +635,7 @@
         <provider
             android:name=".FileProvider"
             android:authorities="${applicationId}.thumbprovider"
-            android:exported="false"
-            android:grantUriPermissions="false" />
+            android:exported="true" />
 
         <service
             android:name=".PreviewVideoInputService"
@@ -651,4 +650,4 @@
         </service>
     </application>
 
-</manifest>
\ No newline at end of file
+</manifest>



More information about the Android mailing list