diff options
author | Igor Murashkin <iam@google.com> | 2013-08-16 14:07:11 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-09-05 11:17:20 -0700 |
commit | 7eb6cfe10b1df1f9d6f4d449dff554e7fbca0362 (patch) | |
tree | 0314b13be613de381d5c0fa9adcaaac04ff871b7 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 27439903438abfb24f5c36151386e723f2e57ebc (diff) |
Binder: Log exceptions originating from the binder stub for oneway calls
- Under a normal situation, if an exception happens in managed, the stack trace
will be printed to logcat.
- Hitherto, the Binder#execTransact call silently caught exceptions and passed
them to the remote side with Parcel#writeException
- Although this behavior might be acceptable when there is a remote side,
for FLAG_ONEWAY calls the exception effectively disappeared.
- From the user point of view, it looked like code execution "halted" when an
exception was thrown.
This tries to make the binder exception handling behavior more like normal,
by printing the exception to the log, to give a better indication of what
happened.
Change-Id: I1f37f0468f61e766a71db60d2fda2104936ab096
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions