diff options
author | Kweku Adams <kwekua@google.com> | 2018-09-13 15:44:58 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2018-09-13 15:47:49 -0700 |
commit | 5b763c13472effa7df25cc53a44d5bdae9392410 (patch) | |
tree | c1af3cab7306899e53b2276ce423130a420142ec /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2518b2899ca62f2135adbd1fc512fe34e9ef6b93 (diff) |
Handling potential SIGPIPE signals.
There are cases where dumping Java traces times out and then later tries
to write to a closed pipe, causing incidentd to crash. This introduces a
handler for the SIGPIPE signal so it doesn't crash due to a closed pipe.
Bug: 111729299
Test: lower section timeout to 5 seconds and make sure incident service
doesn't crash
Change-Id: I868aba1ae21a50ae76977e0e09e782cf94198473
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions