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

Commit d4dada83 authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

Update the comments for onAuthentication<...>

Bug: 179627783
Test: none
Change-Id: Ic2d97729b2f124d8791da027c5acb43875ea90a9
parent deb92278
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -17,10 +17,10 @@
package android.hardware.biometrics.face;

import android.hardware.biometrics.face.AcquiredInfo;
import android.hardware.biometrics.face.Feature;
import android.hardware.biometrics.face.AuthenticationFrame;
import android.hardware.biometrics.face.EnrollmentFrame;
import android.hardware.biometrics.face.Error;
import android.hardware.biometrics.face.Feature;
import android.hardware.biometrics.face.SessionState;
import android.hardware.keymaster.HardwareAuthToken;

@@ -100,9 +100,8 @@ interface ISessionCallback {
    /**
     * This method must only be used to notify the framework during SessionState::AUTHENTICATING.
     *
     * Used to notify the framework upon successful authentication. Note that the authentication
     * lifecycle ends when either 1) a face is accepted, or 2) an error occurred. The
     * authentication lifecycle does NOT end when a face is rejected.
     * Used to notify the framework about a successful authentication. This ends the authentication
     * lifecycle.
     *
     * @param enrollmentId Face that was accepted.
     * @param hat If the sensor is configured as SensorStrength::STRONG, a non-null attestation that
@@ -115,9 +114,8 @@ interface ISessionCallback {
    /**
     * This method must only be used to notify the framework during SessionState::AUTHENTICATING.
     *
     * Used to notify the framework upon rejected attempts. Note that the authentication
     * lifecycle ends when either 1) a face is accepted, or 2) an occurred. The
     * authentication lifecycle does NOT end when a face is rejected.
     * Used to notify the framework about a failed authentication. This ends the authentication
     * lifecycle.
     */
    void onAuthenticationFailed();