RPC Binder: RpcState centralize transactAddress
Previously:
- transact 1 takes binder as argument
2 validates parcel (should happen in other case)
3 updates state for binder transfer out
4 calls transactAddress
- transactAddress - does transaction
Now, 2/3 are moved into transactAddress. The main goal
of this is to enable us to do transaction validation
before we do (3). That way, if we reject the transaction,
we won't leak the binder, due to recording that we sent
the binder out.
Bug: 424526253
Test: binderRpcTest
Flag: EXEMPT .
Change-Id: Ib518fdcffc92360fc960e4cdae47c361187554b6
Loading
Please register or sign in to comment