summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2017-04-12 11:50:10 +0100
committerAndreas Gampe <agampe@google.com>2017-06-12 16:54:40 -0700
commit83a24af5459696c3905fe476ca86c7b34e75650f (patch)
tree72207a43e3941e34ec190cd385645998a60b376e /rs/java/android/renderscript/ProgramFragment.java
parent5cfbbce162360321bfbd36e1cf491bf32d448f53 (diff)
Binder: Be forceful about a forceful exit.
We were previously using exit(1) when code servicing an IPC threw any subclass of Error. That made it much harder to diagnose cases where that happened because : - exit runs global destructors, which might prove problematic (see linked bug). - such exits are often due to bugs in application code (things like AssertionErrors being thrown) but aren't flagged as such by our infrastructure, or by humans for that matter. To address both issues, use FatalError() so that the runtime can dump more useful information to the logs before it aborts. Test: manual Bug: 36813403 Change-Id: I5826090229109dc7cb19f0c3571c609f990cd36a (cherry picked from commit d64abfcf93b59500a0dba1626e73861848eb4407)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions