diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2017-06-07 14:34:38 -0600 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2017-06-07 14:36:03 -0600 |
| commit | 65ac7619f9f6dceb83c26ce1a1bf7bfbaf2f57da (patch) | |
| tree | f0fa3b4c4841e3a48b70c4cddf99cc58f4bfb543 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | a9c185f6e7df6e96fba540a9235ac1b26402bca1 (diff) | |
Add timeout to StrictMode flash.
Consider an app that requests that a StrictMode border be shown, and
then immediately crashes. We'd end up showing the bars indefinitely,
which is a terrible UX.
This CL enqueues a second message to tear down the bars if nobody
asks for them to be taken down within 1 second.
Test: manual app that crashed after showing violation bars
Bug: 37787765
Change-Id: I45d2078d0dcaa94e8f24087d028f5f06d12c4349
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
