Consolidate FingerprintManager revokeChallenge
Bug: 181977689 Test: inspect logs Change-Id: Ie26d49b4feda627964358166100f53a41b5fee20
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user