commit | 95427c76cb3c699114d6d51f0589ca684e4c7286 | [log] [tgz] |
---|---|---|
author | Devin Moore <devinmoore@google.com> | Thu Apr 11 21:57:03 2024 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Wed May 01 23:56:16 2024 +0000 |
tree | 8f06b25ad6750064bfa4a20426e3395c6b34e9be | |
parent | ed854b2b3b48984cd1df1d65b5cead6d8ba5c551 [diff] |
Create and use a death recipient cookie object It stores the service we want to notify on the death of the binder, and it's deleted in the onUnlink callback. Ignore-AOSP-First: b/319210610 Test: cd system/security/keystore2 && atest -p Test: CTS-verifier app -> Security -> Protected Confirmation Test Test: Start TEE test and kill confui HAL after linkToDeath Test: adb shell kill -9 `pid \ android.hardware.confirmationui-service.cuttlefish` Bug: 319210610 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ade978699c699f610a28455d8549c0243303767b) Merged-In: I1c65c93577aee287e26fa23ded43d9e2efc90bf2 Change-Id: I1c65c93577aee287e26fa23ded43d9e2efc90bf2