Merge "libartpalette: Change rtld flag"
diff --git a/libartpalette/apex/palette.cc b/libartpalette/apex/palette.cc
index 8c17057..0b391f8 100644
--- a/libartpalette/apex/palette.cc
+++ b/libartpalette/apex/palette.cc
@@ -76,7 +76,7 @@
};
void* PaletteLoader::OpenLibrary() {
- void* handle = dlopen(kPaletteSystemLibrary, RTLD_NOW | RTLD_LOCAL | RTLD_NODELETE);
+ void* handle = dlopen(kPaletteSystemLibrary, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE);
if (handle == nullptr) {
// dlerror message includes details of error and file being opened.
__android_log_assert(nullptr, kLogTag, "%s", dlerror());