Consolidate FingerprintManager revokeChallenge

Bug: 181977689
Test: inspect logs
Change-Id: Ie26d49b4feda627964358166100f53a41b5fee20
This commit is contained in:
Kevin Chyn
2021-03-09 17:17:45 -08:00
parent b6d71bb083
commit 817be68013

View File

@@ -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