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

Commit 2065f808 authored by Kevin Chyn's avatar Kevin Chyn Committed by Android (Google) Code Review
Browse files

Merge "Add onLockoutChanged for IBiometricsFace"

parents 93e3bebe 99625ae6
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -113,4 +113,19 @@ interface IBiometricsFaceClientCallback {
     */
    oneway onEnumerate(uint64_t deviceId, vec<uint32_t> faceIds,
        int32_t userId);

    /**
     * A callback invoked when the lockout state changes.
     *
     * This method must only be invoked when setActiveUser() is called,
     * when lockout starts, and when lockout ends. When lockout starts,
     * duration must be greater than 0, and when lockout ends, duration must
     * be 0. This must be called before calling onError() with parameters
     * LOCKOUT or LOCKOUT_PERMANENT. If the user is permanently locked out,
     * the duration must be MAX_UINT64.
     *
     * @param duration the remaining lockout duration in milliseconds, or 0
     *     if the user is not locked out.
     */
    oneway onLockoutChanged(uint64_t duration);
};