Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 472dae5e authored by Irina Dumitrescu's avatar Irina Dumitrescu
Browse files

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
parent 4237b16c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment