Constant USE_FINGERPRINT was deprecated in API level 28 and we should use more generic USE_BIOMETRIC which has been added in same API level.
USE_FINGERPRINT
USE_BIOMETRIC
I
You can use this one .