commit | 77df3dffa51f768ef4aea5374933d6f0bd3730fa | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Mon Feb 08 12:42:37 2021 -0800 |
committer | Kevin Chyn <kchyn@google.com> | Mon Feb 08 12:46:38 2021 -0800 |
tree | b74b1aaa1670780569bee66b6652dfb12c00c4c0 | |
parent | 98ed521f0a51f50cfccf08997453a7c0be2fe4ec [diff] |
Clean up biometric AIDL binderDied handling 1) We should only register one death recipient - in the top-level provider class. The provider can notify all sensors to clean up when the HAL dies 2) Always set mCurrentSession to null. Otherwise, if current client is null, or non-interruptable, subsequent attempts to access the HAL will result in a DeadObjectException Fixes: 179097844 Test: atest com.android.server.biometrics Change-Id: I8604dc1988b8b7f3572596b1431da4d6e5c393c2