Add visibility attributes in runtime/native
Don't add visibility attributes in dalvik_system_VMRuntime.{h,cc} for
now, because it breaks some apps.
Bug: 260881207
Test: launch app from b/319255249
Test: presubmit
Test: abtd app_compat_drm
Test: abtd app_compat_top_100
Test: abtd app_compat_banking
Change-Id: I538c4f82a753c71fb9d008762d09ada5e1273427
diff --git a/runtime/native/java_lang_ref_FinalizerReference.h b/runtime/native/java_lang_ref_FinalizerReference.h
index 848a7ad..13d1a12 100644
--- a/runtime/native/java_lang_ref_FinalizerReference.h
+++ b/runtime/native/java_lang_ref_FinalizerReference.h
@@ -19,7 +19,9 @@
#include <jni.h>
-namespace art {
+#include "base/macros.h"
+
+namespace art HIDDEN {
void register_java_lang_ref_FinalizerReference(JNIEnv* env);