Skip to content

Commit

Permalink
Merge "Rename APEX Namespace" am: fcbdba2 am: 613d40c am: 6a9d706
Browse files Browse the repository at this point in the history
Change-Id: I402021856c3b76716f309c6f7cfc119383819d6e
  • Loading branch information
android-build-merge-worker-robot committed Feb 21, 2020
2 parents 8c6123d + 6a9d706 commit e62aa19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/bionic/malloc_common_dynamic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispat
// linker will load the libs found in /system/lib which might be incompatible
// with libc.so in the runtime APEX. Use android_dlopen_ext to explicitly load
// the ones in the runtime APEX.
struct android_namespace_t* runtime_ns = android_get_exported_namespace("com.android.runtime");
struct android_namespace_t* runtime_ns = android_get_exported_namespace("com_android_runtime");
if (runtime_ns != nullptr) {
const android_dlextinfo dlextinfo = {
.flags = ANDROID_DLEXT_USE_NAMESPACE,
Expand Down

0 comments on commit e62aa19

Please sign in to comment.