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

Commit 396ac76f authored by Paul Lawrence's avatar Paul Lawrence
Browse files

Show PIN screen with all PINs, not just simple ones

Bug: 17194645
Change-Id: I8b8ccd2b7cf6dbfac567492387d4f4fd61258a34
parent 0db4f35e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);
                }