[Android] Sanitize the tv_provider_authority string
Nicolas Pomepuy
git at videolan.org
Mon Jun 27 08:24:17 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jun 23 09:01:36 2022 +0200| [672555df98bb6217895aced225092ec4bfc1855a] | committer: Nicolas Pomepuy
Sanitize the tv_provider_authority string
Fixes #2544
> https://code.videolan.org/videolan/vlc-android/commit/672555df98bb6217895aced225092ec4bfc1855a
---
application/vlc-android/build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/application/vlc-android/build.gradle b/application/vlc-android/build.gradle
index 90e1de39c..e91ddd9d9 100644
--- a/application/vlc-android/build.gradle
+++ b/application/vlc-android/build.gradle
@@ -25,7 +25,7 @@ android {
resValue "string", "build_host", hostName()
resValue "string", "build_revision", revision()
resValue "string", "changelog", changelog()
- resValue 'string', 'tv_provider_authority', "\"${rootProject.ext.appId}\".tv"
+ resValue 'string', 'tv_provider_authority', "${rootProject.ext.appId}.tv"
buildConfigField 'String', 'LIBVLC_VERSION', "\"${rootProject.ext.libvlcVersion}\""
buildConfigField 'String', 'ML_VERSION', "\"${rootProject.ext.medialibraryVersion}\""
buildConfigField "String", "APP_ID", "\"${rootProject.ext.appId}\""
@@ -71,7 +71,7 @@ android {
buildConfigField "boolean", "BETA", "false"
resValue 'string', 'benchmark_package_name', 'org.videolan.vlcbenchmark.debug'
buildConfigField "String", "APP_ID", "\"${rootProject.ext.appId}.debug\""
- resValue 'string', 'tv_provider_authority', "\"${rootProject.ext.appId}\".debug.tv"
+ resValue 'string', 'tv_provider_authority', "${rootProject.ext.appId}.debug.tv"
multiDexEnabled true
}
signedRelease {
More information about the Android
mailing list