Merge "Rename APEX Namespace" am: fcbdba22ab am: 613d40c4f5 am: 6a9d706a86

Change-Id: I402021856c3b76716f309c6f7cfc119383819d6e
This commit is contained in:
Automerger Merge Worker 2020-02-21 01:35:42 +00:00
commit e62aa19af5
1 changed files with 1 additions and 1 deletions

View File

@ -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,