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

Commit 4412e5c0 authored by Paul Lawrence's avatar Paul Lawrence Committed by Android (Google) Code Review
Browse files

Merge "Show PIN screen with all PINs, not just simple ones" into lmp-dev

parents 177cd38b 396ac76f
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -767,7 +767,9 @@ public class LockPatternUtils {
                if (userHandle == UserHandle.USER_OWNER) {
                if (userHandle == UserHandle.USER_OWNER) {
                    // Update the encryption password.
                    // Update the encryption password.
                    int type = computedQuality == DevicePolicyManager.PASSWORD_QUALITY_NUMERIC
                    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);
                    updateEncryptionPassword(type, password);
                }
                }