mirror of
https://github.com/bitwarden/android.git
synced 2026-11-20 11:37:52 -06:00
[PM-18281] Change cipher key encryption flag default value to false (#4742)
This commit is contained in:
@@ -145,7 +145,7 @@ sealed class FlagKey<out T : Any> {
|
||||
*/
|
||||
data object CipherKeyEncryption : FlagKey<Boolean>() {
|
||||
override val keyName: String = "cipher-key-encryption"
|
||||
override val defaultValue: Boolean = true
|
||||
override val defaultValue: Boolean = false
|
||||
override val isRemotelyConfigured: Boolean = true
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ class FeatureFlagManagerTest {
|
||||
|
||||
@Test
|
||||
fun `sdkFeatureFlags should return set feature flags`() {
|
||||
val expected = mapOf("enableCipherKeyEncryption" to true)
|
||||
val expected = mapOf("enableCipherKeyEncryption" to false)
|
||||
|
||||
val actual = manager.sdkFeatureFlags
|
||||
|
||||
|
||||
@@ -103,12 +103,11 @@ class FlagKeyTest {
|
||||
FlagKey.SingleTapPasskeyAuthentication,
|
||||
FlagKey.AnonAddySelfHostAlias,
|
||||
FlagKey.SimpleLoginSelfHostAlias,
|
||||
FlagKey.CipherKeyEncryption,
|
||||
).all {
|
||||
!it.defaultValue
|
||||
},
|
||||
)
|
||||
|
||||
assertTrue(FlagKey.CipherKeyEncryption.defaultValue)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user