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

Commit 4803c707 authored by Joshua Mccloskey's avatar Joshua Mccloskey Committed by Android (Google) Code Review
Browse files

Merge "Updated aidl doc w/ regard to lockout." into udc-dev

parents 42df448b 0716d7d5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -178,6 +178,8 @@ interface ISession {
     *   2) A face is rejected, and ISessionCallback#onAuthenticationFailed is invoked.
     *   3) Any non-recoverable error occurs (such as lockout). See the full list of
     *      authentication-specific errors in the Error enum.
     *   4) ISessionCallback#onLockoutPermanent is invoked.
     *   5) ISessionCallback#onLockoutTimed is invoked.
     *
     * Note that upon successful authentication, the lockout counter for this (sensorId, userId)
     * pair must be cleared.
+4 −0
Original line number Diff line number Diff line
@@ -119,6 +119,8 @@ interface ISessionCallback {
     * lockout, and authentication can be restarted after a period of time. See
     * ISession#resetLockout.
     *
     * This ends the authentication lifecycle.
     *
     * @param sensorId Sensor for which the user is locked out.
     * @param userId User for which the sensor is locked out.
     * @param durationMillis Remaining duration of the lockout.
@@ -131,6 +133,8 @@ interface ISessionCallback {
     * Authentication is disabled until the user unlocks with their device credential
     * (PIN/Pattern/Password). See ISession#resetLockout.
     *
     * This ends the authentication lifecycle.
     *
     * @param sensorId Sensor for which the user is locked out.
     * @param userId User for which the sensor is locked out.
     */