Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit caa28b7b authored by Steven Moreland's avatar Steven Moreland
Browse files

RPC Binder: acquire/release for Parcel receive

When a Parcel is an RPC RECEIVE'd Parcel, all objects
are read whenever the Parcel is received in another
process, and the map of the acquired objects is stored
in RpcFields.

If a Parcel object is read later, then it pulled
from this list.

If a Parcel object is using an old protocol version, since
it hasn't been dropped yet, it will be acquired before it
is read, so errors during unparceling can still cause
leaks.

Bug: 424526253
Test: binderRpcTest
Flag: EXEMPT bug fix
Change-Id: I17dc23288afb98dc3919459bc4c8f7449b783ca0
parent aef64f8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment