summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Makoto Onuki <omakoto@google.com> 2023-01-11 14:11:35 -0800
committer Makoto Onuki <omakoto@google.com> 2023-01-17 12:00:10 -0800
commitcb7ba3cfd5cd16f9b64db6dad363da9db5be13c4 (patch)
tree8b0cd5bde4187b8ff83f222c3d41adb02fb520b5 /libs/input/PointerController.cpp
parentb72d65fd3014d61356bcdc67cf40714cd81b50b6 (diff)
Do not repeat ANR dialogs, except for "input" ANRs
The ANR dialog's behavior changed in I4ca34bb8cc60bcde3ff571566553f44246d78ddc such that even if the user presses "wait" on the ANR dialog, the dialog will re-appear unless the app starts responding again. However, the "stop the repeat" was only implemented for input ANRs, so for other kinds of ANRs (e.g. the broadcast ANR), the dialog would keep showing up even after the app starts behaving normally. This change will change the behavior so that only input ANRs will repeatedly show up. Fix: 263182141 Test: Manual test: Make shore "short service" ANR dialog will not repeat Test: Manual test: Make shore input ANR dialog will actually repeat Test: atest FrameworksServicesTests:AnrHelperTest Test: atest FrameworksServicesTests:ProcessRecordTests Change-Id: Id9b34cef605a65ff29b5569e72945790695d7abf
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions