Android has a security feature that requires the user to input PIN/Pattern/Password if the device was locked by an app using the Device Administrator permission or when the device is restarted.
Recently though, I've started using custom ROMs like LineageOS and Resurrection Remix. I happened to notice something interesting in Resurrection Remix: that it allows you to use fingerprint even after an admin device lock or device restart. Take a look at the screen capture below.
You'll find this setting typically under
Settings > Customizations > Interfaces > Fingerprint settings.
Now, with that option enabled, it allows me to unlock device with fingerprint auth. regardless of the method with which the device was locked before.
I've since switched to LineageOS for reasons but I kind of want this feature and am looking for help. I've also looked a bit into the Resurrection Remix Sources but was unable to find anything helpful.
Perhaps, maybe, is there a
build.prop hack/tweak/option I could use to get said feature in LineageOS too?
Any pointers in the right direction are greatly appreciated, Thanks!
Note: In before someone points out, I understand this option, if enabled, can seriously downplay device security but I kind of want to learn about why it works how it works. I do not necessarily plan to enable this but learning is always interesting. I also happen to understand code a bit, please feel free to use code instances (I was thinking about
Android Keystore auth code) to make things more clearer should need be.