[Android] TV: fix file provider uri in debug builds

Geoffrey Métais git at videolan.org
Tue Apr 28 14:35:10 CEST 2020


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Apr 27 11:41:38 2020 +0200| [3d9f8a7662bc4f4dd21fdf3295a05d8ffd997bb9] | committer: Nicolas Pomepuy

TV: fix file provider uri in debug builds

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

 application/vlc-android/build.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/vlc-android/build.gradle b/application/vlc-android/build.gradle
index e32b2ffa2..f5e486bd8 100644
--- a/application/vlc-android/build.gradle
+++ b/application/vlc-android/build.gradle
@@ -69,6 +69,7 @@ android {
         debug {
             buildConfigField "boolean", "BETA", "false"
             buildConfigField "String", "APP_ID", "\"${rootProject.ext.appId}.debug\""
+            resValue 'string', 'tv_provider_authority', "\"${rootProject.ext.appId}\".debug.tv"
             multiDexEnabled true
         }
         signedRelease {



More information about the Android mailing list