mirror of
https://github.com/bitwarden/android.git
synced 2026-11-10 01:15:13 -06:00
chore: Add new policy types (#7537)
This commit is contained in:
+2
@@ -52,4 +52,6 @@ private val PolicyTypeJson.toSdkPolicyType: PolicyType
|
||||
|
||||
PolicyTypeJson.ORGANIZATION_USER_NOTIFICATION -> PolicyType.ORGANIZATION_USER_NOTIFICATION
|
||||
PolicyTypeJson.SEND_CONTROLS -> PolicyType.SEND_CONTROLS
|
||||
PolicyTypeJson.FILL_ASSIST -> PolicyType.FILL_ASSIST
|
||||
PolicyTypeJson.AUTOTYPE_GA_POLICY -> PolicyType.AUTOTYPE_GA_POLICY
|
||||
}
|
||||
|
||||
+2
@@ -82,4 +82,6 @@ private val POLICY_TYPE_MAP: Map<PolicyTypeJson, PolicyType> = mapOf(
|
||||
PolicyType.BLOCK_CLAIMED_DOMAIN_ACCOUNT_CREATION,
|
||||
PolicyTypeJson.ORGANIZATION_USER_NOTIFICATION to PolicyType.ORGANIZATION_USER_NOTIFICATION,
|
||||
PolicyTypeJson.SEND_CONTROLS to PolicyType.SEND_CONTROLS,
|
||||
PolicyTypeJson.FILL_ASSIST to PolicyType.FILL_ASSIST,
|
||||
PolicyTypeJson.AUTOTYPE_GA_POLICY to PolicyType.AUTOTYPE_GA_POLICY,
|
||||
)
|
||||
|
||||
@@ -145,6 +145,21 @@ enum class PolicyTypeJson {
|
||||
*/
|
||||
@SerialName("21")
|
||||
SEND_CONTROLS,
|
||||
|
||||
/**
|
||||
* Enables the Fill Assist targeting-rules autofill engine as the default for members who
|
||||
* have not explicitly set their Fill Assist preference, and optionally overrides the default
|
||||
* rules feed URL.
|
||||
*/
|
||||
@SerialName("22")
|
||||
FILL_ASSIST,
|
||||
|
||||
/**
|
||||
* Enables AutoType GA policy for members who have not explicitly set their AutoType GA
|
||||
* preference.
|
||||
*/
|
||||
@SerialName("23")
|
||||
AUTOTYPE_GA_POLICY,
|
||||
}
|
||||
|
||||
@Keep
|
||||
|
||||
Reference in New Issue
Block a user