In FingerPrintSensor enabled devices when we restart a device it temporarily disables fingerprint and force user to unlock device using pin/password/pattern. I want to achieve this functionality so i am using DevicePolicyManger to lock user device.
mDevicePolicyManager.lockNow();
The problem is it does lock device but disables fingerprint only in few devices or ROMs. I have Redmi Note 3 with Custom rom like lineage OS and Mokee Rom it lock screen and also disables fingerprint. But with MIUI it just locks device but doesn't disable fingerprint.
Why does this behave like this? How can i make sure it disables fingerprint authentication with every device/rom or is there any another alternative to achieve this?