mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge "bootctl: pass cookie to death recipient" into main am: 50297cce15 am: 57433fbc14
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3311020 Change-Id: Ic6660f00e2c411aa5725720959b8adbe46f86892 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -69,8 +69,8 @@ class BootControlClientAidl final : public BootControlClient {
|
||||
explicit BootControlClientAidl(std::shared_ptr<IBootControl> module)
|
||||
: module_(module),
|
||||
boot_control_death_recipient(AIBinder_DeathRecipient_new(onBootControlServiceDied)) {
|
||||
binder_status_t status = AIBinder_linkToDeath(module->asBinder().get(),
|
||||
boot_control_death_recipient, nullptr);
|
||||
binder_status_t status =
|
||||
AIBinder_linkToDeath(module->asBinder().get(), boot_control_death_recipient, this);
|
||||
if (status != STATUS_OK) {
|
||||
LOG(ERROR) << "Could not link to binder death";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user