diff options
author | Kweku Adams <kwekua@google.com> | 2018-09-13 15:44:58 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2018-09-18 18:55:19 -0700 |
commit | 4d4a23306a0ae1d5cb9ff2bd796bc0f2716547e0 (patch) | |
tree | d430444ab654896f805db8be1dfdbd509421c948 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6d66e03371e02f6cddc02b2377dacd3bfac604ea (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
(cherry picked from commit 5b763c13472effa7df25cc53a44d5bdae9392410)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions