Fix 2579481: Fix change alphanumeric password security hole

This fixes a bug where changing an alphanumeric password didn't
ask for the old password first.

Change-Id: I8ef4d2b4b87d02c6ddd23da3177e6802fc579c64
This commit is contained in:
Jim Miller
2010-04-08 00:48:52 -07:00
parent d9db9e7621
commit 9c1e7f8c4c

View File

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