summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-04-09 01:06:04 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2021-04-09 01:06:04 +0000
commitcb1d05d099fc0c991b2f2470e451ff1a3ccc7bd1 (patch)
treecec8d1bfe3ad61c96a696f9726cfaa10c252bfc3 /libs
parent017a19876c83df179b1b2db3ea120c231e0e2ed7 (diff)
parentfbfa51ca45489249d2a67bac5f2d1b2095293cea (diff)
Merge "libbinder_ndk: add log to death rec. CHECK" am: 2c2c5d197f am: 1e311eb204 am: fbfa51ca45
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1668469 Change-Id: Ifa34b7f93424d631f3b3d7e376ed8f4190f383f2
Diffstat (limited to 'libs')
-rw-r--r--libs/binder/ndk/ibinder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/ndk/ibinder.cpp b/libs/binder/ndk/ibinder.cpp
index 3e6c39fd4e..1dcb41be84 100644
--- a/libs/binder/ndk/ibinder.cpp
+++ b/libs/binder/ndk/ibinder.cpp
@@ -363,7 +363,8 @@ const char* AIBinder_Class_getDescriptor(const AIBinder_Class* clazz) {
}
void AIBinder_DeathRecipient::TransferDeathRecipient::binderDied(const wp<IBinder>& who) {
- CHECK(who == mWho);
+ CHECK(who == mWho) << who.unsafe_get() << "(" << who.get_refs() << ") vs " << mWho.unsafe_get()
+ << " (" << mWho.get_refs() << ")";
mOnDied(mCookie);