summaryrefslogtreecommitdiff
path: root/runtime/hidden_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/hidden_api.h')
-rw-r--r--runtime/hidden_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/hidden_api.h b/runtime/hidden_api.h
index 8817c63606..1d96184d53 100644
--- a/runtime/hidden_api.h
+++ b/runtime/hidden_api.h
@@ -38,7 +38,7 @@ namespace hiddenapi {
enum class EnforcementPolicy {
kDisabled = 0,
kJustWarn = 1, // keep checks enabled, but allow everything (enables logging)
- kEnabled = 2, // ban dark grey & blacklist
+ kEnabled = 2, // ban conditionally blocked & blocklist
kMax = kEnabled,
};
@@ -241,7 +241,7 @@ ALWAYS_INLINE inline uint32_t CreateRuntimeFlags_Impl(uint32_t dex_flags) {
ApiList api_list(dex_flags);
DCHECK(api_list.IsValid());
- if (api_list.Contains(ApiList::Whitelist())) {
+ if (api_list.Contains(ApiList::Sdk())) {
runtime_flags |= kAccPublicApi;
} else {
// Only add domain-specific flags for non-public API members.