Allow linking to libicuuc.so and libicui18n.so from executable in /data
Executable in /data/ runs in default linker namespace, not
classloader namespace.
In Q, we moved libicuuc.so and libicui18n into the runtime
namespace, and allow linking from runtime namespace and classloader
namespace.
This change further allows linking from default namespace, and tries
to fix the regression temporarily.
Bug: 130788466
Test: The app issue is fixed after this CL
Change-Id: I3e392cf5a0573e4d303fa187eda4f0bf6cd49c6c
diff --git a/build/apex/ld.config.txt b/build/apex/ld.config.txt
index 12e4969..f74132b 100644
--- a/build/apex/ld.config.txt
+++ b/build/apex/ld.config.txt
@@ -68,6 +68,9 @@
namespace.platform.link.runtime.shared_libs = libandroidicu.so
namespace.platform.link.runtime.shared_libs += libdexfile_external.so
namespace.platform.link.runtime.shared_libs += libdexfiled_external.so
+# libicuuc.so and libicui18n.so are kept for app compat reason. http://b/130788466
+namespace.platform.link.runtime.shared_libs += libicui18n.so
+namespace.platform.link.runtime.shared_libs += libicuuc.so
namespace.platform.link.runtime.shared_libs += libnativebridge.so
namespace.platform.link.runtime.shared_libs += libnativehelper.so
namespace.platform.link.runtime.shared_libs += libnativeloader.so