Merge "Password history changes do NOT require user intervention"

This commit is contained in:
Marc Blank 2011-08-29 16:09:51 -07:00 committed by Android (Google) Code Review
commit b946263f45

View File

@ -397,7 +397,8 @@ public class SecurityPolicy {
}
if (policy.mPasswordHistory > 0) {
if (dpm.getPasswordHistoryLength(mAdminName) < policy.mPasswordHistory) {
reasons |= INACTIVE_NEED_PASSWORD;
// There's no user action for changes here; this is just a configuration change
reasons |= INACTIVE_NEED_CONFIGURATION;
}
}
if (policy.mPasswordComplexChars > 0) {