commit | b9c0eaa866cf5ad3f540fdc85611008396ee1278 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Thu Aug 05 10:35:42 2021 -0700 |
committer | Varun Shah <varunshah@google.com> | Mon Aug 09 11:16:35 2021 -0700 |
tree | 23358a83b5af2043a64425089a16c7b6a19d0ecc | |
parent | 077c6329302bb99abda0f00967d60401b67a2404 [diff] |
Add logic to re-raise ANR dialogs if the user taps wait. When the user taps "wait" on the ANR dialog, redisplay the dialog after a specified timeout (currently 5 seconds). If the app becomes responsive, cancel any pending delayed dialogs and dismiss the dialog if it's currently visible. Bug: 171218828 Test: manual (test app) Test: atest AnrTest Change-Id: I4ca34bb8cc60bcde3ff571566553f44246d78ddc