mirror of
https://github.com/bitwarden/android.git
synced 2026-03-11 12:44:17 -05:00
Remove the RemoveCardPolicy feature flag (#5770)
This commit is contained in:
@@ -33,7 +33,6 @@ sealed class FlagKey<out T : Any> {
|
||||
CredentialExchangeProtocolImport,
|
||||
CredentialExchangeProtocolExport,
|
||||
UserManagedPrivilegedApps,
|
||||
RemoveCardPolicy,
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -72,15 +71,6 @@ sealed class FlagKey<out T : Any> {
|
||||
override val defaultValue: Boolean = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Data object holding the feature flag key to enable the removal of card item types.
|
||||
* This flag will hide card types from organizations with policy enable and individual vaults
|
||||
*/
|
||||
data object RemoveCardPolicy : FlagKey<Boolean>() {
|
||||
override val keyName: String = "pm-16442-remove-card-item-type-policy"
|
||||
override val defaultValue: Boolean = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates the state of Bitwarden authentication.
|
||||
*/
|
||||
|
||||
@@ -24,10 +24,6 @@ class FlagKeyTest {
|
||||
FlagKey.UserManagedPrivilegedApps.keyName,
|
||||
"pm-18970-user-managed-privileged-apps",
|
||||
)
|
||||
assertEquals(
|
||||
FlagKey.RemoveCardPolicy.keyName,
|
||||
"pm-16442-remove-card-item-type-policy",
|
||||
)
|
||||
assertEquals(
|
||||
FlagKey.BitwardenAuthenticationEnabled.keyName,
|
||||
"bitwarden-authentication-enabled",
|
||||
@@ -42,7 +38,6 @@ class FlagKeyTest {
|
||||
FlagKey.CredentialExchangeProtocolExport,
|
||||
FlagKey.CipherKeyEncryption,
|
||||
FlagKey.UserManagedPrivilegedApps,
|
||||
FlagKey.RemoveCardPolicy,
|
||||
FlagKey.BitwardenAuthenticationEnabled,
|
||||
).all {
|
||||
!it.defaultValue
|
||||
|
||||
Reference in New Issue
Block a user