RPC Binder: tolerate too large transactions
Kernel binder will allow you to send a huge amount
of data and then just returns FAILED_TRANSACTION.
We should do that too.
Here are examples of logs with this, when the limit is lowered
even further:
07-09 23:44:28.873 3105060 3105071 E libbinder.RpcState: Reply
transaction for code 2 too large: 40 body size bytes.
07-09 23:44:28.873 3105017 3105017 E libbinder.RpcState: Error getting
session ID: FAILED_TRANSACTION
Bug: 424526253
Test: binderRpcTest
Flag: EXEMPT .
Change-Id: Iae2289e42f4cd87fffd73771ba74ccef39e341ec
2 files changed