diff options
| author | Varun Shah <varunshah@google.com> | 2019-03-07 13:17:00 -0800 |
|---|---|---|
| committer | Varun Shah <varunshah@google.com> | 2019-06-24 17:17:44 -0700 |
| commit | cdab35b8e02f912b629b164b7354001dfc8cec43 (patch) | |
| tree | d30536ed44777be386f5ec9b804a5151dd8d1f5c /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | 4fc0de746f8ccd795d23e681f52d16eb70bee93a (diff) | |
Throw an ANR if ContentProvider#getType takes too long.
If the transaction between the system server and the content provider
takes longer than the specified timeout, an ANR will be thrown to avoid
blocking.
Bug: 122243546
Test: atest AppSecurityTests
Change-Id: I5146938b07364cc0f5b703e18ab7cb2961946bf5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
