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
diff --git a/biometrics/face/1.0/IBiometricsFace.hal b/biometrics/face/1.0/IBiometricsFace.hal
index 813f040..0499c5d 100644
--- a/biometrics/face/1.0/IBiometricsFace.hal
+++ b/biometrics/face/1.0/IBiometricsFace.hal
@@ -242,8 +242,10 @@
* 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);
};