summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-02-15 06:35:03 -0800
committer Prabir Pradhan <prabirmsp@google.com> 2022-02-28 21:43:44 +0000
commit280b13eacf1364610b24d1d1a8a5d899dde9595b (patch)
treeefe9e84891a1e881e6520605f6a78d6346772c97 /libs/androidfw/StringPool.cpp
parent500c65f41eff59701d659554876fd7cb79cca8f7 (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: manual: Create a gesture monitor that sleeps while processing input events, ensure there is an ANR. Change-Id: If368ccf4a5cc676f64f3ed9de4f765b0abe63284 Merged-In: If368ccf4a5cc676f64f3ed9de4f765b0abe63284
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions