OSDN Git Service

Fix 2579481: Fix change alphanumeric password security hole
authorJim Miller <jaggies@google.com>
Thu, 8 Apr 2010 07:48:52 +0000 (00:48 -0700)
committerJim Miller <jaggies@google.com>
Thu, 8 Apr 2010 07:48:52 +0000 (00:48 -0700)
This fixes a bug where changing an alphanumeric password didn't
ask for the old password first.

Change-Id: I8ef4d2b4b87d02c6ddd23da3177e6802fc579c64

src/com/android/settings/ChooseLockSettingsHelper.java

index 5fe3118..6382891 100644 (file)
@@ -48,6 +48,7 @@ public class ChooseLockSettingsHelper {
                 break;
             case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC:
             case DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC:
+            case DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC:
                 launched = confirmPassword(request);
                 break;
         }