summaryrefslogtreecommitdiff
path: root/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 422c6729dd..662238e3a6 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -602,14 +602,6 @@ class Runtime {
return core_platform_api_policy_;
}
- void SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy policy) {
- test_api_policy_ = policy;
- }
-
- hiddenapi::EnforcementPolicy GetTestApiEnforcementPolicy() const {
- return test_api_policy_;
- }
-
void SetHiddenApiExemptions(const std::vector<std::string>& exemptions) {
hidden_api_exemptions_ = exemptions;
}
@@ -1242,9 +1234,6 @@ class Runtime {
// Whether access checks on core platform API should be performed.
hiddenapi::EnforcementPolicy core_platform_api_policy_;
- // Whether access checks on test API should be performed.
- hiddenapi::EnforcementPolicy test_api_policy_;
-
// List of signature prefixes of methods that have been removed from the blacklist, and treated
// as if whitelisted.
std::vector<std::string> hidden_api_exemptions_;