History log of /frameworks/base/core/java/android/os/TransactionTooLargeException.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e5c42621095a12e7d22ca5ab871dacd28c9bff41 20-May-2015 Dianne Hackborn <hackbod@google.com> Improve reporting to apps of transaction too large failures.

If the app tried to do various things with too much data --
starting an activity, starting a service, sending a broadcast --
this would fairly silently fail with little indication of what
was going on. Fix this in two ways:

- Now when the native code generates a TransactionTooLargeException,
it may include an additional message in it telling you how much
data was in the parcel being sent, to help you understand why
this happening.

- In all the framework code paths where we call to the system and
may fail, convert these failures into a a runtime exception and
rethrow them back to the app so that it will clearly get the
above message.

Change-Id: I745159b97d3edb6fca86aa09cbc40c1f15a7d128
/frameworks/base/core/java/android/os/TransactionTooLargeException.java
0bde66a837542e5bd901d8b8e47c5bd7c4c99fe4 07-Nov-2011 Jeff Brown <jeffbrown@google.com> Throw TransactionTooLargeException when Binder transaction fails.
Bug: 5578022

Previously, Binder transactions failed silently, which caused
problems because apps would carry on assuming that the operation
had succeeded. Often, the apps would crash soon due to a violated
invariant, but sometimes they managed to do some damage first...

Change-Id: Ia9cc98b3b761a8160e7c4e87507860b5912c0451
/frameworks/base/core/java/android/os/TransactionTooLargeException.java