diff options
author | 2025-03-18 09:43:37 -0700 | |
---|---|---|
committer | 2025-03-18 09:43:37 -0700 | |
commit | 4212ea291eae3359f987c1ae85d496b2879dd5db (patch) | |
tree | 612076255ad9cb0a0f6ffeb93be256ac1783f57c /libs/binder/Binder.cpp | |
parent | 7827597532707582b082679cd845111b0b61f2f2 (diff) | |
parent | 7ba43785c9a7d1c3ad2afa458967f090276b21df (diff) |
Merge "Add comment explaining BpBinder::linkToDeath invalid operation" into main
Diffstat (limited to 'libs/binder/Binder.cpp')
-rw-r--r-- | libs/binder/Binder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/Binder.cpp b/libs/binder/Binder.cpp index bc7ae37ff0..9883eb2672 100644 --- a/libs/binder/Binder.cpp +++ b/libs/binder/Binder.cpp @@ -445,6 +445,9 @@ status_t BBinder::linkToDeath( const sp<DeathRecipient>& /*recipient*/, void* /*cookie*/, uint32_t /*flags*/) { + // BBinder::linkToDeath is invalid because this process owns this binder. + // The DeathRecipient is called on BpBinders when the process owning the + // binder node dies. return INVALID_OPERATION; } |