Merge "libnativeloader: remove stubs for now."

This commit is contained in:
Treehugger Robot 2019-01-17 00:56:38 +00:00 committed by Gerrit Code Review
commit 3ec4081849
2 changed files with 1 additions and 10 deletions

View file

@ -23,15 +23,6 @@ cc_library {
"llndk.libraries.txt",
"vndksp.libraries.txt",
],
target: {
android: {
version_script: "libnativeloader.map.txt",
},
},
stubs: {
symbol_file: "libnativeloader.map.txt",
versions: ["1"],
},
}
cc_library_headers {

View file

@ -632,7 +632,7 @@ void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* pat
*needs_native_bridge = false;
void* handle = dlopen(path, RTLD_NOW);
if (handle == nullptr) {
*error_msg = dlerror();
*error_msg = strdup(dlerror());
}
return handle;
}