Skip to content

Commit

Permalink
Remove maxSdk restrition for ShadowBiometricManager#canAuthenticate i…
Browse files Browse the repository at this point in the history
…mplementation

It was deprecated from SDK 30, but not removed.

Signed-off-by: utzcoz <utzcoz@outlook.com>
  • Loading branch information
utzcoz committed Apr 5, 2022
1 parent d2a6c9f commit 00099ef
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -33,7 +33,7 @@ public class ShadowBiometricManager {

@SuppressWarnings("deprecation")
@RequiresPermission(USE_BIOMETRIC)
@Implementation(maxSdk = Q)
@Implementation
protected int canAuthenticate() {
if (RuntimeEnvironment.getApiLevel() >= R) {
return reflector(BiometricManagerReflector.class, realBiometricManager).canAuthenticate();
Expand Down

0 comments on commit 00099ef

Please sign in to comment.