resetLockout should return Status instead of bool
The actual lockout reset is asynchronous and returns its result in the onLockoutChanged() callback Bug: 121196511 Bug: 121198195 Bug: 123262389 Test: Builds Change-Id: Ia5fd34d77ae1f8dba1a943e0e1fc51d458753090
This commit is contained in:
parent
332467b8bf
commit
1c16445989
1 changed files with 5 additions and 3 deletions
|
@ -242,8 +242,10 @@ interface IBiometricsFace {
|
|||
* Reset lockout for the current user.
|
||||
*
|
||||
* @param hat A valid Hardware Authentication Token, generated when the
|
||||
* user authenticates with Pin/Pattern/Pass.
|
||||
* @return true if lockout was reset, false otherwise.
|
||||
* user authenticates with Pin/Pattern/Pass. When the Hardware
|
||||
* Authentication Token is verified, lockout must be reset and
|
||||
* onLockoutChanged must be called with duration 0.
|
||||
* @return status The status of this method call.
|
||||
*/
|
||||
resetLockout(vec<uint8_t> hat) generates (bool success);
|
||||
resetLockout(vec<uint8_t> hat) generates (Status status);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue