OSDN Git Service

Improve ANR diagnostics.
authorJeff Brown <jeffbrown@google.com>
Sat, 11 Oct 2014 02:01:34 +0000 (19:01 -0700)
committerJeff Brown <jeffbrown@google.com>
Sat, 11 Oct 2014 02:09:39 +0000 (19:09 -0700)
commitffb497743831ae4857b674629b58ea3c46d01431
tree5082d5633dd1cb39331c8d1f8138d3438d3d3c32
parent9ea09757fa63ad2a9bea9c846b51c1210d69c79f
Improve ANR diagnostics.

Print more details about the exact reason that an ANR has occurred.
Also start checking that the window actually has a registered
input connection that is not in a broken state.  These windows
are supposed to be cleaned up by the window manager promptly
as if the app had crashed but the pattern of ANRs we are observing
suggests that broken windows might be sticking around longer than
they should.

Bug: 17721767
Change-Id: Ie2803a3fa9642381ecadc198fec15e1b70d93c20
services/inputflinger/InputDispatcher.cpp
services/inputflinger/InputDispatcher.h