commit | cdab35b8e02f912b629b164b7354001dfc8cec43 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Thu Mar 07 13:17:00 2019 -0800 |
committer | Varun Shah <varunshah@google.com> | Mon Jun 24 17:17:44 2019 -0700 |
tree | d30536ed44777be386f5ec9b804a5151dd8d1f5c | |
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