How to get unlock metadata in Android e.g. fingerprint vs passcode? -
i have application implements deviceadminreceiver
. when user attempts unlock device, able determine method (e.g., pin or fingerprint reader) used.
the reason because possible fingerprint reader errors exceed threshold failed unlocks specified user's policy, , when happens, user's data wiped device manager. poor user experience lose data because hand brushed against phone in bag while looking else. able smarter how fingerprint scanner failures counted against policy threshold vs. how pins or password attempts counted.
as far can tell, android not give me information, thought might ask wider community on chance i'm missing something.
Comments
Post a Comment