mirror of
https://github.com/bitwarden/android.git
synced 2026-03-09 03:33:36 -05:00
PM-26027: Remove the UserManagedPrivilegedApps feature flag (#5914)
This commit is contained in:
@@ -32,7 +32,6 @@ sealed class FlagKey<out T : Any> {
|
||||
listOf(
|
||||
CredentialExchangeProtocolImport,
|
||||
CredentialExchangeProtocolExport,
|
||||
UserManagedPrivilegedApps,
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -63,14 +62,6 @@ sealed class FlagKey<out T : Any> {
|
||||
override val defaultValue: Boolean = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Data object holding the feature flag key to enabled user-managed privileged apps.
|
||||
*/
|
||||
data object UserManagedPrivilegedApps : FlagKey<Boolean>() {
|
||||
override val keyName: String = "pm-18970-user-managed-privileged-apps"
|
||||
override val defaultValue: Boolean = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates the state of Bitwarden authentication.
|
||||
*/
|
||||
|
||||
@@ -20,10 +20,6 @@ class FlagKeyTest {
|
||||
FlagKey.CipherKeyEncryption.keyName,
|
||||
"cipher-key-encryption",
|
||||
)
|
||||
assertEquals(
|
||||
FlagKey.UserManagedPrivilegedApps.keyName,
|
||||
"pm-18970-user-managed-privileged-apps",
|
||||
)
|
||||
assertEquals(
|
||||
FlagKey.BitwardenAuthenticationEnabled.keyName,
|
||||
"bitwarden-authentication-enabled",
|
||||
@@ -37,7 +33,6 @@ class FlagKeyTest {
|
||||
FlagKey.CredentialExchangeProtocolImport,
|
||||
FlagKey.CredentialExchangeProtocolExport,
|
||||
FlagKey.CipherKeyEncryption,
|
||||
FlagKey.UserManagedPrivilegedApps,
|
||||
FlagKey.BitwardenAuthenticationEnabled,
|
||||
).all {
|
||||
!it.defaultValue
|
||||
|
||||
Reference in New Issue
Block a user