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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/hidden_api.h b/runtime/hidden_api.h
index c4f7cbfa79..0a403411e4 100644
--- a/runtime/hidden_api.h
+++ b/runtime/hidden_api.h
@@ -106,8 +106,9 @@ class AccessContext {
Domain dex_domain = dex_file->GetHiddenapiDomain();
if (class_loader.IsNull() && dex_domain == Domain::kApplication) {
- // LOG(WARNING) << "DexFile " << dex_file->GetLocation() << " is in boot classpath "
- // << "but is assigned untrusted domain";
+ LOG(WARNING) << "DexFile " << dex_file->GetLocation()
+ << " is in boot classpath but is assigned the application domain";
+ dex_file->SetHiddenapiDomain(Domain::kPlatform);
dex_domain = Domain::kPlatform;
}
return dex_domain;