libvndksupport: log sphal namespace fallback

If someone is trying to use the sphal namespace, but it
isn't available, we should probably fix this code or add an
sphal namespace there or similar. Add log for more clarity.

Bug: N/A
Test: boot cuttlefish, this doesn't get logged
Change-Id: I2fd2cddc90f529218c99ede8daf2891d84ceb94c
This commit is contained in:
Steven Moreland 2023-10-03 17:13:10 +00:00
parent b0bff22429
commit 5248c5d72a

View file

@ -75,7 +75,7 @@ void* android_load_sphal_library(const char* name, int flag) {
}
return handle;
} else {
ALOGD("Loading %s from current namespace instead of sphal namespace.", name);
ALOGW("Loading %s from current namespace instead of sphal namespace.", name);
return dlopen(name, flag);
}
}