*/
#include "linker.h"
-#include <android/dlext.h>
+//#include <android/dlext.h>
#include <dlfcn.h>
#define LOG_TAG "vndksupport"
#include <log/log.h>
-
+/*
extern struct android_namespace_t* android_get_exported_namespace(const char*);
static const char* namespace_name = NULL;
}
return vendor_namespace;
}
+*/
void* android_load_sphal_library(const char* name, int flag) {
+/*
struct android_namespace_t* vendor_namespace = get_vendor_namespace();
if (vendor_namespace != NULL) {
const android_dlextinfo dlextinfo = {
ALOGD("Loading %s from current namespace instead of sphal namespace.", name);
return dlopen(name, flag);
}
+*/
+ return dlopen(name, flag);
}
int android_unload_sphal_library(void* handle) {