diff options
author | Christopher Tate <ctate@google.com> | 2011-03-01 11:55:27 -0800 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2011-03-01 18:25:52 -0800 |
commit | bd8b6f25bb48daea4aeb0c7463661c8e69baece0 (patch) | |
tree | 3083b6db9396a4e8664db16c10d7cf98b614bf2e /core/java/android/os/Binder.java | |
parent | 2380aa08c2571b4e2577a14f02a93a8047236460 (diff) | |
download | frameworks_base-bd8b6f25bb48daea4aeb0c7463661c8e69baece0.zip frameworks_base-bd8b6f25bb48daea4aeb0c7463661c8e69baece0.tar.gz frameworks_base-bd8b6f25bb48daea4aeb0c7463661c8e69baece0.tar.bz2 |
Fix binder proxy death notice tracking
There was an issue with stale recipient tracking when BinderProxy weak
references had been purged and a new proxy object allocated for a
still-live underlying IBinder. The death recipient bookkeeping has
now been reworked so that it's fundmentally tied to the BinderProxy
instances, not maintained as global state, to prevent this sort of
confusion entirely.
Bug 3499939
Change-Id: I75c5216b6d53b90868ac969e32c9725201e51be3
Diffstat (limited to 'core/java/android/os/Binder.java')
-rw-r--r-- | core/java/android/os/Binder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java index a402c91..7dc36f9 100644 --- a/core/java/android/os/Binder.java +++ b/core/java/android/os/Binder.java @@ -392,4 +392,5 @@ final class BinderProxy implements IBinder { final private WeakReference mSelf; private int mObject; + private int mOrgue; } |