[Android] FileProvider: set exported

Geoffrey Métais git at videolan.org
Tue May 21 14:40:59 CEST 2019


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

FileProvider: set exported

Otherwise, video thumbnails are not available on some TV devices

> https://code.videolan.org/videolan/vlc-android/commit/3d77150de3b35c426710784d277bc8afd03aa532
---

 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 159a5622c..5a0f52d09 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -640,8 +640,7 @@
         <provider
             android:name=".FileProvider"
             android:authorities="${applicationId}.thumbprovider"
-            android:exported="false"
-            android:grantUriPermissions="false" />
+            android:exported="true" />
 
         <service
             android:name=".PreviewVideoInputService"
@@ -656,4 +655,4 @@
         </service>
     </application>
 
-</manifest>
\ No newline at end of file
+</manifest>



More information about the Android mailing list