summaryrefslogtreecommitdiff
path: root/runtime/native/java_lang_Object.h
diff options
context:
space:
mode:
author Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-12 20:10:14 +0000
committer Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-15 17:32:46 +0000
commit3623aa1323e4eedd836db7a7ceafb19343295a46 (patch)
treeedf1150d86373e33382375f7c562b1925e625b1a /runtime/native/java_lang_Object.h
parentf0a31e107973f3bde7dd54cd7610082b104922db (diff)
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
Diffstat (limited to 'runtime/native/java_lang_Object.h')
-rw-r--r--runtime/native/java_lang_Object.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/native/java_lang_Object.h b/runtime/native/java_lang_Object.h
index c860571904..1ea2c05d19 100644
--- a/runtime/native/java_lang_Object.h
+++ b/runtime/native/java_lang_Object.h
@@ -19,7 +19,9 @@
#include <jni.h>
-namespace art {
+#include "base/macros.h"
+
+namespace art HIDDEN {
void register_java_lang_Object(JNIEnv* env);