From 9d2c704aef9b5c13eb1c1365502db010b8f7a84c Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Wed, 13 Apr 2022 10:56:20 +0200 Subject: [PATCH] Removing the BuildConfigField --- vector/build.gradle | 2 -- vector/src/main/java/im/vector/app/features/VectorFeatures.kt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/vector/build.gradle b/vector/build.gradle index 52132ee074..c7950da28e 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -229,7 +229,6 @@ android { buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false" // Set to true if you want to enable strict mode in debug buildConfigField "boolean", "ENABLE_STRICT_MODE_LOGS", "false" - buildConfigField "Boolean", "ENABLE_LIVE_LOCATION_SHARING", "true" signingConfig signingConfigs.debug } @@ -239,7 +238,6 @@ android { buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false" buildConfigField "boolean", "ENABLE_STRICT_MODE_LOGS", "false" - buildConfigField "Boolean", "ENABLE_LIVE_LOCATION_SHARING", "false" postprocessing { removeUnusedCode true diff --git a/vector/src/main/java/im/vector/app/features/VectorFeatures.kt b/vector/src/main/java/im/vector/app/features/VectorFeatures.kt index 992fa4d5a5..b2a62a42d3 100644 --- a/vector/src/main/java/im/vector/app/features/VectorFeatures.kt +++ b/vector/src/main/java/im/vector/app/features/VectorFeatures.kt @@ -42,5 +42,5 @@ class DefaultVectorFeatures : VectorFeatures { override fun isOnboardingUseCaseEnabled() = true override fun isOnboardingPersonalizeEnabled() = false override fun isOnboardingCombinedRegisterEnabled() = false - override fun isLiveLocationEnabled(): Boolean = BuildConfig.ENABLE_LIVE_LOCATION_SHARING + override fun isLiveLocationEnabled(): Boolean = false }