diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 32d1060f3190d..5cfe09e98d2d3 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -3471,7 +3471,10 @@ public class DevicePolicyManager { * Setting custom, overly-complicated password requirements leads to passwords that are hard * for users to remember and may not provide any security benefits given as Android uses * hardware-backed throttling to thwart online and offline brute-forcing of the device's - * screen lock. + * screen lock. Company-owned devices (fully-managed and organization-owned managed profile + * devices) are able to continue using this method, though it is recommended that + * {@link #setRequiredPasswordComplexity(int)} should be used instead. + * * @param admin Which {@link DeviceAdminReceiver} this request is associated with. * @param quality The new desired quality. One of {@link #PASSWORD_QUALITY_UNSPECIFIED}, * {@link #PASSWORD_QUALITY_BIOMETRIC_WEAK},