summaryrefslogtreecommitdiff
path: root/common/networkstackclient/src
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-04-28 08:40:04 +0000
committerLorenzo Colitti <lorenzo@google.com>2020-05-01 08:52:27 +0000
commita962ab88881a102724142dc4d5e61551102c6400 (patch)
treeae48890dff9d6e7f61e0c1009438df4350ad6ce8 /common/networkstackclient/src
parenta51a28854f1e325fd0b9c187ab42ab05c4b4d060 (diff)
Do not stop FdEventsReader on handlePacket error
Previously if handlePacket threw an exception, FdEventsReader would stop reading and close the file descriptor. This is not helpful as users of this class may encounter errors processing a particular packet (typically), but they generally should not stop completely for that reason. Also address comments from previous change (Exception instead of Throwable: Throwable should not be caught in general; event -> events). Bug: 152842850 Test: atest NetworkStackTests Original-Change: https://android-review.googlesource.com/1295503 Merged-In: I14abe8163ecdfd5251731915f10ea374bfa38b70 Change-Id: I14abe8163ecdfd5251731915f10ea374bfa38b70
Diffstat (limited to 'common/networkstackclient/src')
0 files changed, 0 insertions, 0 deletions