mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-04 20:34:14 +01:00
Enable linked device flow for debug builds.
This commit is contained in:
committed by
Michelle Tang
parent
36898a1e3a
commit
a7de53333d
@@ -24,7 +24,7 @@ object Environment {
|
||||
|
||||
@JvmField
|
||||
val USE_NEW_REGISTRATION: Boolean = BuildConfig.DEBUG
|
||||
const val IS_LINK_AND_SYNC_AVAILABLE: Boolean = false
|
||||
val IS_LINK_AND_SYNC_AVAILABLE: Boolean = BuildConfig.DEBUG
|
||||
|
||||
object Backups {
|
||||
@JvmStatic
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
package org.thoughtcrime.securesms.util
|
||||
|
||||
import org.junit.Assert.assertFalse
|
||||
import org.junit.Test
|
||||
|
||||
class EnvironmentTest {
|
||||
@Test
|
||||
fun `IS_LINK_AND_SYNC_AVAILABLE must be false for release`() {
|
||||
assertFalse("IS_LINK_AND_SYNC_AVAILABLE must not be committed as true!", Environment.IS_LINK_AND_SYNC_AVAILABLE)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user