Temporarily disable CorePlatformApi logging

Warnings are causing logspam all over. Temporarily disable it until
the root cause(s) are fixed.

Bug: 123226039
Bug: 123239324
Bug: 123143676
Test: compiles
Change-Id: Ibcad0e28dd738cc31cd0ad2a98d7746ce140ed09
diff --git a/runtime/hidden_api.h b/runtime/hidden_api.h
index c73a710..8bd59ea 100644
--- a/runtime/hidden_api.h
+++ b/runtime/hidden_api.h
@@ -104,8 +104,8 @@
 
     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 untrusted domain";
       dex_domain = Domain::kPlatform;
     }
     return dex_domain;
@@ -415,7 +415,7 @@
       }
 
       // Access checks are not disabled, report the violation.
-      detail::MaybeReportCorePlatformApiViolation(member, caller_context, access_method);
+      // detail::MaybeReportCorePlatformApiViolation(member, caller_context, access_method);
 
       // Deny access if the policy is enabled.
       return policy == EnforcementPolicy::kEnabled;