Adb shell correctly resets the failed password attempts count.
Fixes: 110945754
Test: in adb shell, before this change was in effect, the following
commands would result in a wipe, when the max password failures is set
to 3 in TestDPC. Now they do not:
cmd lock_settings verify --user 0 --old "wrongpassword"
cmd lock_settings verify --user 0 --old "wrongpassword"
cmd lock_settings verify --user 0 --old "correctpassword"
cmd lock_settings verify --user 0 --old "wrongpassword"
Change-Id: Iba949c2942beb5038f8d83e76da8818cb11918c8
1 file changed