diff options
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r-- | libs/binder/Parcel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index 6644187507..6ce09226d9 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp @@ -291,6 +291,9 @@ status_t Parcel::unflattenBinder(sp<IBinder>* out) const if (status_t status = mSession->state()->onBinderEntering(mSession, addr, &binder); status != OK) return status; + if (status_t status = mSession->state()->flushExcessBinderRefs(mSession, addr, binder); + status != OK) + return status; } return finishUnflattenBinder(binder, out); |