Loading core/java/com/android/internal/widget/LockPatternUtils.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading Loading
core/java/com/android/internal/widget/LockPatternUtils.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading