My app uses Android 6.0 Fingerprint API to protect AES key in the Android KeyStore. The stored key can be used only when user is authenticated by fingerprint sensor because
This seems to be a bug in Android that arises after an update.
I had it on a OnePlus. I removed the device lock from the settings and set it again. After that, the issue was gone.