OSDN Git Service

reset lockout deadline on device reboot
authorAndres Morales <anmorales@google.com>
Tue, 8 Sep 2015 20:17:37 +0000 (13:17 -0700)
committerAndres Morales <anmorales@google.com>
Wed, 9 Sep 2015 22:45:31 +0000 (15:45 -0700)
commita4e23375663ac3a2b6115da71e6711282f03492d
treeb0437d763fa5975fa9444b570f522afae2e3e92d
parent5bba07eb01d923beea173712295d6b10c9762400
reset lockout deadline on device reboot

Gatekeeper retains lockouts after reboot, but framework
doesn't. This causes odd behavior on a reboot after a lockout
as gatekeeper refuses to check the password and the framework
thinks it's an invalid attempt. Reset the lockout deadline
if we notice the clock reset in the framework.

Bug: 23681267

Change-Id: I3127ccd8f205494af5a8ed2b44d4370c37cc2f8f
core/java/com/android/internal/widget/LockPatternUtils.java