Skip to content

Commit e109319

Browse files
authored
Merge pull request #5752 from vector-im/feature/mna/live-location-disabled-by-default
Disable live location sharing feature by default in debug config
2 parents 619ac2a + ea4515f commit e109319

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

vector/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ android {
229229
buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false"
230230
// Set to true if you want to enable strict mode in debug
231231
buildConfigField "boolean", "ENABLE_STRICT_MODE_LOGS", "false"
232-
buildConfigField "Boolean", "ENABLE_LIVE_LOCATION_SHARING", "true"
233232

234233
signingConfig signingConfigs.debug
235234
}
@@ -239,7 +238,6 @@ android {
239238

240239
buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false"
241240
buildConfigField "boolean", "ENABLE_STRICT_MODE_LOGS", "false"
242-
buildConfigField "Boolean", "ENABLE_LIVE_LOCATION_SHARING", "false"
243241

244242
postprocessing {
245243
removeUnusedCode true

vector/src/main/java/im/vector/app/features/VectorFeatures.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ class DefaultVectorFeatures : VectorFeatures {
4242
override fun isOnboardingUseCaseEnabled() = true
4343
override fun isOnboardingPersonalizeEnabled() = false
4444
override fun isOnboardingCombinedRegisterEnabled() = false
45-
override fun isLiveLocationEnabled(): Boolean = BuildConfig.ENABLE_LIVE_LOCATION_SHARING
45+
override fun isLiveLocationEnabled(): Boolean = false
4646
}

0 commit comments

Comments
 (0)