unifiedLockSettings property

String? unifiedLockSettings
getter/setter pair

Controls whether a unified lock is allowed for the device and the work profile, on devices running Android 9 and above with a work profile.

This can be set only if password_scope is set to SCOPE_PROFILE, the policy will be rejected otherwise. If user has not set a separate work lock and this field is set to REQUIRE_SEPARATE_WORK_LOCK, a NonComplianceDetail is reported with nonComplianceReason set to USER_ACTION. Possible string values are:

  • "UNIFIED_LOCK_SETTINGS_UNSPECIFIED" : Unspecified. Defaults to ALLOW_UNIFIED_WORK_AND_PERSONAL_LOCK.
  • "ALLOW_UNIFIED_WORK_AND_PERSONAL_LOCK" : A common lock for the device and the work profile is allowed.
  • "REQUIRE_SEPARATE_WORK_LOCK" : A separate lock for the work profile is required.

Implementation

core.String? unifiedLockSettings;