summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-10-12 12:31:15 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-10-12 12:31:15 +0000
commite5e02ecbb9c07cef65ecc57a24957cd2a6fe00b3 (patch)
tree783085f3a22496ed2a619f25c6c03823b4854c09
parent72c8a93bb710c6abcecd37233908dc9e57342e5f (diff)
parentfb4508535ddf40800430b324e6c6747a22b03908 (diff)
Merge "libbinder_ndk: clarify local AIBinder_linkToDeath"
-rw-r--r--libs/binder/ndk/include_ndk/android/binder_ibinder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/binder/ndk/include_ndk/android/binder_ibinder.h b/libs/binder/ndk/include_ndk/android/binder_ibinder.h
index f237e695ce..c222c161f5 100644
--- a/libs/binder/ndk/include_ndk/android/binder_ibinder.h
+++ b/libs/binder/ndk/include_ndk/android/binder_ibinder.h
@@ -207,6 +207,8 @@ binder_status_t AIBinder_ping(AIBinder* binder) __INTRODUCED_IN(29);
* null. The exact cookie must also be used to unlink this transaction (see AIBinder_linkToDeath).
* This function may return a binder transaction failure. The cookie can be used both for
* identification and holding user data.
+ *
+ * If binder is local, this will return STATUS_INVALID_OPERATION.
*/
binder_status_t AIBinder_linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient,
void* cookie) __INTRODUCED_IN(29);