Plumb @TestApi enforcement policy to runtime.
By default access to test APIs would be allowed for instrumented processes only.
Bug: 133832325
Test: manual
Change-Id: Iaa68447c88304b062025c96e8b863a0758b78add
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index c6d9bfd..691aa80 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -288,6 +288,7 @@
safe_mode_(false),
hidden_api_policy_(hiddenapi::EnforcementPolicy::kDisabled),
core_platform_api_policy_(hiddenapi::EnforcementPolicy::kDisabled),
+ test_api_policy_(hiddenapi::EnforcementPolicy::kDisabled),
dedupe_hidden_api_warnings_(true),
hidden_api_access_event_log_rate_(0),
dump_native_stack_on_sig_quit_(true),