Loading services/core/java/com/android/server/locksettings/LockSettingsShellCommand.java +3 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,9 @@ class LockSettingsShellCommand extends ShellCommand { mLockPatternUtils.reportFailedPasswordAttempt(mCurrentUserId); } getOutPrintWriter().println("Old password '" + mOld + "' didn't match"); } else { // Resets the counter for failed password attempts to 0. mLockPatternUtils.reportSuccessfulPasswordAttempt(mCurrentUserId); } return result; } catch (RequestThrottledException e) { Loading Loading
services/core/java/com/android/server/locksettings/LockSettingsShellCommand.java +3 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,9 @@ class LockSettingsShellCommand extends ShellCommand { mLockPatternUtils.reportFailedPasswordAttempt(mCurrentUserId); } getOutPrintWriter().println("Old password '" + mOld + "' didn't match"); } else { // Resets the counter for failed password attempts to 0. mLockPatternUtils.reportSuccessfulPasswordAttempt(mCurrentUserId); } return result; } catch (RequestThrottledException e) { Loading