Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b76c1189 authored by Rubin Xu's avatar Rubin Xu Committed by Android (Google) Code Review
Browse files

Merge "Clarify deprecation docs for DPM.setPasswordQuality()"

parents cacb978b 26e6dd5a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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},