[PM-26736] Prevent logout notification on KDF change (#6038)

This commit is contained in:
André Bispo
2025-10-16 19:54:56 +01:00
committed by GitHub
parent 714f7cfadc
commit a70b2172cb
8 changed files with 117 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ sealed class FlagKey<out T : Any> {
CredentialExchangeProtocolExport,
ForceUpdateKdfSettings,
CipherKeyEncryption,
NoLogoutOnKdfChange,
)
}
}
@@ -80,6 +81,14 @@ sealed class FlagKey<out T : Any> {
override val defaultValue: Boolean = false
}
/**
* Data object holding the feature flag key for the No Logout On KDF Change feature.
*/
data object NoLogoutOnKdfChange : FlagKey<Boolean>() {
override val keyName: String = "pm-23995-no-logout-on-kdf-change"
override val defaultValue: Boolean = false
}
//region Dummy keys for testing
/**
* Data object holding the key for a [Boolean] flag to be used in tests.