Merge "libvndksupport: Change log level and message." into oc-mr1-dev
This commit is contained in:
commit
c5ebe0f5a0
1 changed files with 3 additions and 4 deletions
|
|
@ -32,14 +32,13 @@ void* android_load_sphal_library(const char* name, int flag) {
|
|||
void* handle = android_dlopen_ext(name, flag, &dlextinfo);
|
||||
if (!handle) {
|
||||
ALOGE(
|
||||
"Could not load %s from sphal namespace: %s. ",
|
||||
"Could not load %s from sphal namespace: %s.",
|
||||
name, dlerror());
|
||||
}
|
||||
return handle;
|
||||
} else {
|
||||
ALOGI(
|
||||
"sphal namespace is not configured for this process. "
|
||||
"Loading %s from the current namespace instead.",
|
||||
ALOGD(
|
||||
"Loading %s from current namespace instead of sphal namespace.",
|
||||
name);
|
||||
return dlopen(name, flag);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue