Merge "Respect PASSWORD_QUALITY_MANAGED for biometrics" into sc-qpr1-dev
This commit is contained in:
@@ -190,7 +190,8 @@ public class ChooseLockGenericController {
|
||||
* requirements. The lock's visibility ({@link #isScreenLockVisible}) is not considered here.
|
||||
*/
|
||||
public boolean isScreenLockEnabled(ScreenLockType type) {
|
||||
return type.maxQuality >= upgradeQuality(PASSWORD_QUALITY_UNSPECIFIED);
|
||||
return !mLockPatternUtils.isCredentialsDisabledForUser(mUserId)
|
||||
&& type.maxQuality >= upgradeQuality(PASSWORD_QUALITY_UNSPECIFIED);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user