mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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:
committed by
Steven Moreland
parent
332467b8bf
commit
1c16445989
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user