summaryrefslogtreecommitdiffstats
path: root/include/binder/IBinder.h
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2011-02-17 13:00:38 -0800
committerChristopher Tate <ctate@google.com>2011-02-24 13:15:09 -0800
commitc2d55dd89743c8a38deb809f3cdf1ad2d1dbac2b (patch)
tree65588e96e165132b56daee0a6c3149a8f1b915a3 /include/binder/IBinder.h
parent5fb008e3800032be18c6d5f1e7ace4d7c2661e26 (diff)
downloadframeworks_base-c2d55dd89743c8a38deb809f3cdf1ad2d1dbac2b.zip
frameworks_base-c2d55dd89743c8a38deb809f3cdf1ad2d1dbac2b.tar.gz
frameworks_base-c2d55dd89743c8a38deb809f3cdf1ad2d1dbac2b.tar.bz2
Binder linkage no longer depends on JNI objrefs as persistent tokens
There are two areas that have changed to eliminate the assumption that local jobject references are both canonical and persistent: 1. JavaBBinderHolder no longer holds onto and reuses it parent object reference per se. Since the underlying JavaBBinder object holds a real global ref, this was redundant anyway. Now, for purposes of its transient need to perform JNI operations, it simply uses the current jobject ref(s) passed during method invocation, and no longer attempts to hold these refs beyond the scope of a single invocation. 2. Binder obituaries no longer assume that a jobject reference to a recipient will always compare == as a 32-bit value with any future reference to the same object. The implementation now asks Dalvik whether object references match. Bug 2090115 Change-Id: If62edd554d0a9fbb2d2977b0cbf8ad7cc8e2e68d
Diffstat (limited to 'include/binder/IBinder.h')
-rw-r--r--include/binder/IBinder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/binder/IBinder.h b/include/binder/IBinder.h
index 749a977..81b56c2 100644
--- a/include/binder/IBinder.h
+++ b/include/binder/IBinder.h
@@ -98,7 +98,7 @@ public:
* Register the @a recipient for a notification if this binder
* goes away. If this binder object unexpectedly goes away
* (typically because its hosting process has been killed),
- * then DeathRecipient::binderDied() will be called with a referene
+ * then DeathRecipient::binderDied() will be called with a reference
* to this.
*
* The @a cookie is optional -- if non-NULL, it should be a