OSDN Git Service

input: Handle a few extra error conditions.
authorJeff Brown <jeffbrown@google.com>
Tue, 18 Jun 2013 23:05:54 +0000 (16:05 -0700)
committerJeff Brown <jeffbrown@google.com>
Tue, 18 Jun 2013 23:10:49 +0000 (16:10 -0700)
commit0618148f9031129540631b6d5aa823377e993415
tree17acc57cfc16d9e95c0757e15b38f53f2e2fce02
parent736d4ddcdcd74165ad292b136468207644b28f9d
input: Handle a few extra error conditions.

It turns out that SOCK_SEQPACKET sockets may sometimes return
ECONNREFUSED or ECONNRESET errors when the peer dies instead of
the usual EPIPE.

Bug: 9479906
Change-Id: Ia7e572b08bf63e43ba5aeda58281508beb5f8c73
libs/androidfw/InputTransport.cpp