Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c164459 authored by Kevin Chyn's avatar Kevin Chyn Committed by Steven Moreland
Browse files

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
parent 332467b8
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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);
};