diff options
| author | 2019-08-02 20:04:19 +0000 | |
|---|---|---|
| committer | 2019-08-02 20:04:19 +0000 | |
| commit | 10e4cc4a536fd56d24efd72fcb5894c8a6f45eed (patch) | |
| tree | f9dcb5dd4dd7ba819535e5fcf4e0dbd86309de84 /libs/binder/Binder.cpp | |
| parent | cd551fab41affb10b11bc6019741898694a123c8 (diff) | |
| parent | 7b10226a880b51591e192ff2c0415aa6fa50ce6d (diff) | |
Merge changes from topic "reland-binder-interface-stability" into stage-aosp-master
* changes:
Keep Parcel size stable.
Reland "Binder: support storing interface stability"
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; |