summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2017-04-12 11:50:10 +0100
committerNarayan Kamath <narayan@google.com>2017-04-12 16:04:41 +0100
commitd64abfcf93b59500a0dba1626e73861848eb4407 (patch)
treea762ac7018d652a6846ff67e72dd95edc17f646a /rs/java/android/renderscript/RenderScriptCacheDir.java
parent0ac8fd7adbebbbdfbe0f898fc3a82fbafba130ac (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
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions