diff options
-rw-r--r-- | runtime/native/dalvik_system_VMRuntime.cc | 4 | ||||
-rw-r--r-- | runtime/native/dalvik_system_VMRuntime.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/runtime/native/dalvik_system_VMRuntime.cc b/runtime/native/dalvik_system_VMRuntime.cc index e774f07dc9..3f71c3182e 100644 --- a/runtime/native/dalvik_system_VMRuntime.cc +++ b/runtime/native/dalvik_system_VMRuntime.cc @@ -66,9 +66,7 @@ extern "C" void android_set_application_target_sdk_version(uint32_t version); #include "thread-inl.h" #include "thread_list.h" -// TODO(260881207): should be HIDDEN, but some apps fail to launch -// (e.g. b/319255249) -namespace art { +namespace art HIDDEN { using android::base::StringPrintf; diff --git a/runtime/native/dalvik_system_VMRuntime.h b/runtime/native/dalvik_system_VMRuntime.h index d66c107a30..ad1fcbec36 100644 --- a/runtime/native/dalvik_system_VMRuntime.h +++ b/runtime/native/dalvik_system_VMRuntime.h @@ -21,11 +21,11 @@ #include "base/macros.h" +namespace art HIDDEN { + // TODO(260881207): should be HIDDEN, but some apps fail to launch // (e.g. b/319255249) -namespace art { - -void register_dalvik_system_VMRuntime(JNIEnv* env); +EXPORT void register_dalvik_system_VMRuntime(JNIEnv* env); } // namespace art |