android / security-samples

Multiple samples showing the best practices in security APIs on Android.
Apache License 2.0
938 stars 395 forks source link

CRASH when app go in background #21

Closed codingjeremy closed 4 years ago

codingjeremy commented 5 years ago

Issue by doffi88 Tuesday Nov 08, 2016 at 09:38 GMT Originally opened as https://github.com/googlesamples/android-FingerprintDialog/issues/42


hy guys, sorry for my english , I have this problem when I close authentication dialog and app go in background

D/AbstractTracker: Event success E/System: Uncaught exception thrown by finalizer E/System: java.lang.IllegalStateException: Binder has been finalized! at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:536) at android.security.IKeystoreService$Stub$Proxy.abort(IKeystoreService.java:1302) at android.security.KeyStore.abort(KeyStore.java:496) at android.security.keystore.AndroidKeyStoreCipherSpiBase.finalize(AndroidKeyStoreCipherSpiBase.java:680) at android.security.keystore.AndroidKeyStoreUnauthenticatedAESCipherSpi$CBC$PKCS7Padding.finalize(AndroidKeyStoreUnauthenticatedAESCipherSpi.java:73) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:219) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:197) at java.lang.Thread.run(Thread.java:818)

how can I resolve this issue?

thanks in advance

codingjeremy commented 5 years ago

Comment by IgorGanapolsky Friday May 25, 2018 at 19:21 GMT


I am getting the same error. Is there a solution for this?

nic0lette commented 4 years ago

The sample was ported to use BiometricPrompt and so I'm hopeful that this issue would be resolved. If it's still occurring, please open another issue.