diff options
author | Al Sutton <alsutton@google.com> | 2019-09-12 08:36:28 +0100 |
---|---|---|
committer | Al Sutton <alsutton@google.com> | 2019-09-12 08:36:28 +0100 |
commit | e4accbe31f79861858c3bc5caccfba53ee5cea85 (patch) | |
tree | c4eef7ad8e5fb5d26cc3c47053f910b2a2aae9ee /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7b1aaaee937b6847a35215e172f44389d53865fa (diff) |
Capture all exceptions rather than just IO ones.
If an exception which isn't in the IOException hierarchy gets
thrown within this code it can bring down the system_server, so
we should capture and log any exception rather than letting it
propagate out and bring down system_server.
I decided not to capture all Throwables because they represent
more serious runtime errors that probably should bring down
system_server.
Fixes: 140472631
Test: m -j (compilation means we're OK).
Change-Id: Ibbd9612d1e9b42c100ce7fda0b7463ac3f10704e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions