Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0eaef3bf authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: clarify onBinderDied/unlinkToDeath interaction

Change-Id: If999d540c7779d576055ae497a25f6e1a69faa8b
Fixes: 261608993
Test: N/A
parent 6e5dda51
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -613,7 +613,8 @@ __attribute__((warn_unused_result)) AIBinder_DeathRecipient* AIBinder_DeathRecip
 *
 *  1. If the binder died, shortly after the call to onBinderDied.
 *  2. If the binder is explicitly unlinked with AIBinder_unlinkToDeath or
 *     AIBinder_DeathRecipient_delete.
 *     AIBinder_DeathRecipient_delete, after any pending onBinderDied calls
 *     finish.
 *  3. During or shortly after the AIBinder_linkToDeath call if it returns an error.
 *
 * It is guaranteed that the callback is called exactly once for each call to linkToDeath unless the