googlearchive / android-FingerprintDialog

Migrated:

Home Page:https://github.com/android/security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crash after emulator reboot

Ghostish opened this issue · comments

I was testing the sample app at Nexux 5x emulator.
When I restart the app after rebooting the emulator, it crashed.

In android monitor it read:

java.lang.RuntimeException: java.security.InvalidAlgorithmParameterException: java.lang.IllegalStateException: At least one fingerprint must be enrolled to create keys requiring user authentication for every use

That's so weird . I checked the return value of mFingerprintManager.hasEnrolledFingerprints() ,which was true. But the exception still was thrown during the createKey() .

i face the same problem.

Still exists on emulate API 23, x86, 10th revision.

I am closing this issue/PR, as it has been migrated to the new repo linked above in the comments. Thank you!