summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2018-09-13 15:44:58 -0700
committerKweku Adams <kwekua@google.com>2018-09-18 18:55:19 -0700
commit4d4a23306a0ae1d5cb9ff2bd796bc0f2716547e0 (patch)
treed430444ab654896f805db8be1dfdbd509421c948 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6d66e03371e02f6cddc02b2377dacd3bfac604ea (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions