From 3d5a43449f414cde4b7602a20b764f28c58dd740 Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Mon, 11 Jan 2016 14:53:59 -0800 Subject: [PATCH] Add libart.so to the list of public libraries This is a temporary workaround for apps relying on libart internal state. Bug: http://b/26436837 Change-Id: Ibd6a766c3c8edebe885d897565a72a7a407828c3 --- libnativeloader/native_loader.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libnativeloader/native_loader.cpp b/libnativeloader/native_loader.cpp index 403a4f41e..27540a785 100644 --- a/libnativeloader/native_loader.cpp +++ b/libnativeloader/native_loader.cpp @@ -36,6 +36,10 @@ namespace android { #ifdef __ANDROID__ // TODO(dimitry): move this to system properties. static const char* kPublicNativeLibraries = "libandroid.so:" + // TODO (dimitry): This is a workaround for http://b/26436837 + // will be removed before the release. + "libart.so:" + // END OF WORKAROUND "libc.so:" "libdl.so:" "libEGL.so:"