diff options
author | Kevin Chyn <kchyn@google.com> | 2021-02-08 12:42:37 -0800 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2021-02-08 12:46:38 -0800 |
commit | 77df3dffa51f768ef4aea5374933d6f0bd3730fa (patch) | |
tree | b74b1aaa1670780569bee66b6652dfb12c00c4c0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions