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

Commit 1aea3e73 authored by Andrew Scull's avatar Andrew Scull Committed by android-build-merger
Browse files

Explain the IAE thrown by resetPassword. am: 60df33da

am: aa96b68b

Change-Id: I9bd4270f54e13b0ade22bace4c6899eef9fa1ae4
parents 880862eb aa96b68b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2219,6 +2219,7 @@ public class DevicePolicyManager {
     * @throws SecurityException if the calling application does not own an active administrator
     *             that uses {@link DeviceAdminInfo#USES_POLICY_RESET_PASSWORD}
     * @throws IllegalStateException if the calling user is locked or has a managed profile.
     * @throws IllegalArgumentException if the password does not meet system requirements.
     */
    public boolean resetPassword(String password, int flags) {
        throwIfParentInstance("resetPassword");