summaryrefslogtreecommitdiff
path: root/runtime/hidden_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/hidden_api.cc')
-rw-r--r--runtime/hidden_api.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/hidden_api.cc b/runtime/hidden_api.cc
index 6ac57b61f7..86c38c2e99 100644
--- a/runtime/hidden_api.cc
+++ b/runtime/hidden_api.cc
@@ -107,6 +107,10 @@ static Domain DetermineDomainFromLocation(const std::string& dex_location,
return Domain::kPlatform;
}
+ if (LocationIsOnSystemExtFramework(dex_location.c_str())) {
+ return Domain::kPlatform;
+ }
+
if (class_loader.IsNull()) {
LOG(WARNING) << "DexFile " << dex_location
<< " is in boot class path but is not in a known location";