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

Commit 817be680 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Consolidate FingerprintManager revokeChallenge

Bug: 181977689
Test: inspect logs
Change-Id: Ie26d49b4feda627964358166100f53a41b5fee20
parent b6d71bb0
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -685,17 +685,6 @@ public class FingerprintManager implements BiometricAuthenticator, BiometricFing
        generateChallenge(sensorProps.sensorId, userId, callback);
    }

    /**
     * Revokes the current challenge.
     * @hide
     */
    @RequiresPermission(MANAGE_FINGERPRINT)
    public void revokeChallenge(int userId) {
        // On HALs with only single in-flight challenge such as IBiometricsFingerprint@2.1,
        // this parameter is ignored.
        revokeChallenge(userId, 0L);
    }

    /**
     * Revokes the specified challenge.
     * @hide