mirror of
https://github.com/bitwarden/android.git
synced 2026-05-20 19:11:33 -05:00
updated feature flag key to match server
This commit is contained in:
@@ -135,7 +135,7 @@ sealed class FlagKey<out T : Any> {
|
||||
* Data object holding the feature flag key for the Manage Devices feature.
|
||||
*/
|
||||
data object ManageDevices : FlagKey<Boolean>() {
|
||||
override val keyName: String = "pm-4516-manage-devices"
|
||||
override val keyName: String = "pm-4516-devices-add-last-activity-date"
|
||||
override val defaultValue: Boolean = false
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,10 @@ class FlagKeyTest {
|
||||
FlagKey.NewItemTypes.keyName,
|
||||
"pm-32009-new-item-types",
|
||||
)
|
||||
assertEquals(
|
||||
FlagKey.ManageDevices.keyName,
|
||||
"pm-4516-devices-add-last-activity-date",
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -79,6 +83,7 @@ class FlagKeyTest {
|
||||
FlagKey.V2EncryptionPassword,
|
||||
FlagKey.V2EncryptionTde,
|
||||
FlagKey.NewItemTypes,
|
||||
FlagKey.ManageDevices,
|
||||
).all {
|
||||
!it.defaultValue
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user