commit | 27f9231e496a725b4752b59f0bb66b7632fe5643 | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Fri Jul 26 12:41:33 2019 -0700 |
committer | Kevin Chyn <kchyn@google.com> | Fri Jul 26 13:10:47 2019 -0700 |
tree | 262924b52b6ce163a0e701ac56715a8f40d9572f | |
parent | 5818412305a0c2fbaa399874ca00d479dd20d135 [diff] |
Do not use canAuthenticate() to check if user can reset lockout canAuthenticate() is meant for apps so it will reflect the FACE_UNLOCK_APP_ENABLED setting. If disabled, resetLockout will not be run for that user. Fixes: 138269776 Test: Disable unlocking for apps, get locked out, enter password. Lockout is reset now. Change-Id: I5d7bf3abbac7c8982595d5733464a887ab5184ab