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

Commit 0dc2b7b1 authored by Lenka Trochtova's avatar Lenka Trochtova
Browse files

Don't tie getPasswordComplexity to secure lock screen.

BUG: 128283074
Test: make

Change-Id: I55a9d02c05c4e4f949f276441e347566157ceb00
parent a5211154
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -3373,9 +3373,6 @@ public class DevicePolicyManager {
     * explicitly querying the parent profile screen lock complexity via {@link
     * #getParentProfileInstance}.
     *
     * <p>On devices not supporting {@link PackageManager#FEATURE_SECURE_LOCK_SCREEN} feature, the
     * password is always empty and this method returns {@link #PASSWORD_COMPLEXITY_NONE}.
     *
     * @throws IllegalStateException if the user is not unlocked.
     * @throws SecurityException if the calling application does not have the permission
     *                           {@link permission#REQUEST_SCREEN_LOCK_COMPLEXITY}