ART: Disable kCorePlatform detection
The detection is inconsistent, and follow-up failures are hidden.
Disable for now, as on-host and on-device compilation must be
consistent.
Bug: 129008061
Test: m test-art-host
Change-Id: I62dbb2d1cac899799120b1a9447acfe5fe6e018a
diff --git a/runtime/hidden_api.cc b/runtime/hidden_api.cc
index 4ef3842..1b48901 100644
--- a/runtime/hidden_api.cc
+++ b/runtime/hidden_api.cc
@@ -81,7 +81,8 @@
// is set to "/system".
if (RuntimeModuleRootDistinctFromAndroidRoot()) {
if (LocationIsOnRuntimeModule(path.c_str()) || LocationIsOnConscryptModule(path.c_str())) {
- return Domain::kCorePlatform;
+ // Should be: return Domain::kCorePlatform; b/129008061
+ return Domain::kPlatform;
}
if (LocationIsOnApex(path.c_str())) {