diff options
| author | 2019-08-01 23:28:34 +0000 | |
|---|---|---|
| committer | 2019-08-01 17:44:54 -0700 | |
| commit | a86a3569411faff2bff8dc08c6677646d91f2f7e (patch) | |
| tree | 7c06b9fde867ab0721eebfa4ec049a439d68d900 /libs/binder/Binder.cpp | |
| parent | 90d77f426739ba6e3c05590a7ff14a37a861b283 (diff) | |
Reland "Binder: support storing interface stability"
This reverts commit e9495af181d56a4ba359539e3ff07d092d6d0a51.
Relanding original change 5981dcbe4a6701c1776e9ece08aa83fe01655da1
Reason for revert: reland feature
Change-Id: I4be143706996ba7ab19a3e1446fece7b5d18f205
Diffstat (limited to 'libs/binder/Binder.cpp')
| -rw-r--r-- | libs/binder/Binder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/Binder.cpp b/libs/binder/Binder.cpp index bdf0f8ef9f..268c85e096 100644 --- a/libs/binder/Binder.cpp +++ b/libs/binder/Binder.cpp @@ -124,6 +124,7 @@ status_t BBinder::transact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) { data.setDataPosition(0); + data.setTransactingBinder(this); status_t err = NO_ERROR; switch (code) { @@ -135,8 +136,10 @@ status_t BBinder::transact( break; } + // In case this is being transacted on in the same process. if (reply != nullptr) { reply->setDataPosition(0); + reply->setTransactingBinder(this); } return err; |