On some events, I'd like to lock the phone screen and require password (not fingerprint). That is, the fingerprint would be disabled just temporarily for one unlock. After the unlock, the user would be able to use fingerprint again. This is similar to the lockdown mode.
I have looked for a suitable API for that and I have found just two things:
a. Device administrator API. It seems to be the way to go, except that it is deprecated. b. GLOBAL_ACTION_LOCK_SCREEN – not deprecated, but it does not disable the fingerprint.
Please try this
you can handle the result in
onActivityResult()