summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-02-15 01:46:16 -0800
committer Prabir Pradhan <prabirmsp@google.com> 2022-02-22 05:50:49 -0800
commit083bb215bffd974cc81e9de80ccfd452f845cf19 (patch)
tree758a39690b67ac8d61432c36d11259a81d431910 /libs/gui/SurfaceComposerClient.cpp
parent8568c8c39439f15a27dfc5281af54851847148f3 (diff)
Support ANRs from windows that are not tracked by WM
Previously, ANRs for gesture monitors were reported using the pid of the owner, and ANRs for all windows were reported using its input channel, which was tracked by WM. Now, there can be input windows that are not tracked by WM. We unify the ANR reporting pipeline so that we first try to report an ANR using the window's input channel. If the ANR reporting fails because the input channel was not tracked by WM, we fall back on reporting ANR via the pid of the window owner. Bug: 210978621 Test: atest inputflinger_tests Change-Id: I7f71186e042b0fc9df7d342a549ef609ff4862ae
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions