summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-12-08 14:43:03 -0700
committerJeff Sharkey <jsharkey@android.com>2018-12-08 14:56:48 -0700
commit4ba69239750cbd258f681921a45e50216583a73c (patch)
tree93ec4460a6495995b96939cdce7ae5501c2d8218 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente770d22dc90e7ae80d86d7c82503c330f2ad3ed4 (diff)
Offer API to detect ContentProvider ANRs.
If a system component calls to a remote provider, and that provider hangs, we end up burning that Binder thread until the remote process is killed for some unrelated reason. This change adds an API to detect these hangs, and kill the remote process after a specific timeout, but only when the caller holds a permission that lets them kill other apps. Bug: 117635768 Test: atest android.content.cts.ContentResolverTest Change-Id: I81b0d993d9d585cdeb5e2559c68052ba6cbbced9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions