Merge "Show PIN screen with all PINs, not just simple ones" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4412e5c033
@@ -767,7 +767,9 @@ public class LockPatternUtils {
|
||||
if (userHandle == UserHandle.USER_OWNER) {
|
||||
// Update the encryption password.
|
||||
int type = computedQuality == DevicePolicyManager.PASSWORD_QUALITY_NUMERIC
|
||||
? StorageManager.CRYPT_TYPE_PIN : StorageManager.CRYPT_TYPE_PASSWORD;
|
||||
|| computedQuality == DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX
|
||||
? StorageManager.CRYPT_TYPE_PIN
|
||||
: StorageManager.CRYPT_TYPE_PASSWORD;
|
||||
updateEncryptionPassword(type, password);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user