mirror of
https://github.com/bitwarden/android.git
synced 2026-03-11 12:44:17 -05:00
PM-24240: Remove email verification feature flag (#5605)
This commit is contained in:
@@ -30,7 +30,6 @@ sealed class FlagKey<out T : Any> {
|
||||
*/
|
||||
val activePasswordManagerFlags: List<FlagKey<*>> by lazy {
|
||||
listOf(
|
||||
EmailVerification,
|
||||
CredentialExchangeProtocolImport,
|
||||
CredentialExchangeProtocolExport,
|
||||
RestrictCipherItemDeletion,
|
||||
@@ -40,14 +39,6 @@ sealed class FlagKey<out T : Any> {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Data object holding the key for Email Verification feature.
|
||||
*/
|
||||
data object EmailVerification : FlagKey<Boolean>() {
|
||||
override val keyName: String = "email-verification"
|
||||
override val defaultValue: Boolean = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Data object holding hte feature flag key for the Credential Exchange Protocol (CXP) import
|
||||
* feature.
|
||||
|
||||
@@ -8,10 +8,6 @@ class FlagKeyTest {
|
||||
|
||||
@Test
|
||||
fun `Feature flags have the correct key name set`() {
|
||||
assertEquals(
|
||||
FlagKey.EmailVerification.keyName,
|
||||
"email-verification",
|
||||
)
|
||||
assertEquals(
|
||||
FlagKey.CredentialExchangeProtocolImport.keyName,
|
||||
"cxp-import-mobile",
|
||||
@@ -46,7 +42,6 @@ class FlagKeyTest {
|
||||
fun `All feature flags have the correct default value set`() {
|
||||
assertTrue(
|
||||
listOf(
|
||||
FlagKey.EmailVerification,
|
||||
FlagKey.CredentialExchangeProtocolImport,
|
||||
FlagKey.CredentialExchangeProtocolExport,
|
||||
FlagKey.CipherKeyEncryption,
|
||||
|
||||
Reference in New Issue
Block a user