commit | 65ac7619f9f6dceb83c26ce1a1bf7bfbaf2f57da | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Jun 07 14:34:38 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Jun 07 14:36:03 2017 -0600 |
tree | f0fa3b4c4841e3a48b70c4cddf99cc58f4bfb543 | |
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