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

Commit 6dde2b05 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add ACQUIRED_START message"

parents ce3d956b aad80b10
Loading
Loading
Loading
Loading
+11 −1
Original line number Original line Diff line number Diff line
@@ -294,13 +294,23 @@ public interface BiometricFaceConstants {
     */
     */
    public static final int FACE_ACQUIRED_FACE_OBSCURED = 19;
    public static final int FACE_ACQUIRED_FACE_OBSCURED = 19;


    /**
     * This message represents the earliest message sent at the beginning of the authentication
     * pipeline. It is expected to be used to measure latency. For example, in a camera-based
     * authentication system it's expected to be sent prior to camera initialization. Note this
     * should be sent whenever authentication is restarted (see IBiometricsFace#userActivity).
     * The framework will measure latency based on the time between the last START message and the
     * onAuthenticated callback.
     */
    public static final int FACE_ACQUIRED_START = 20;

    /**
    /**
     * Hardware vendors may extend this list if there are conditions that do not fall under one of
     * Hardware vendors may extend this list if there are conditions that do not fall under one of
     * the above categories. Vendors are responsible for providing error strings for these errors.
     * the above categories. Vendors are responsible for providing error strings for these errors.
     *
     *
     * @hide
     * @hide
     */
     */
    public static final int FACE_ACQUIRED_VENDOR = 20;
    public static final int FACE_ACQUIRED_VENDOR = 21;


    /**
    /**
     * @hide
     * @hide