Merge "Revert "Temporary disable linker-namespaces""

This commit is contained in:
Dimitry Ivanov 2016-01-04 17:15:44 +00:00 committed by Gerrit Code Review
commit 100001a537
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* pat
jobject class_loader, bool is_shared, jstring java_library_path,
jstring java_permitted_path) {
#if defined(__ANDROID__)
if (target_sdk_version <= INT_MAX || class_loader == nullptr) {
if (target_sdk_version == 0 || class_loader == nullptr) {
return dlopen(path, RTLD_NOW);
}