diff options
author | Mathew Inwood <mathewi@google.com> | 2018-03-16 14:26:08 +0000 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2018-03-27 10:51:10 +0100 |
commit | 2c6f97d4c9e09a89ef3b0a96539bf6a9ab8d326c (patch) | |
tree | 7625b016500d96de370d2b54ab47fc74cc2812c2 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 69e1cbc3fef012ce7ffaf9bd403d037b4d4ae0a9 (diff) |
Configurable hidden API exemptions.
Extend the existing hidden_api_blacklist_exemptions config to support a
list of API signature prefixes to exclude from hidden API enforcement.
Push this list down to the zygote process when that process is created,
and when the list changes. This minimizes overhead, but should also ensure
that all new processes get the latest whitelist.
Test: $ adb shell settings put global hidden_api_blacklist_exemptions \
Test: Landroid/view/RemoteAnimationDefinition\\\;:Landroid/app/ActivityManager\\\$TaskDescription\\\;
Test: Manually verify logcat output from app which uses named APIs
Bug: 73337509
Change-Id: Ib1245b69da4dac50c6968f1be62f1a74591dc433
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions