Make anonymous namespace isoalted.
This addresses outstanding todo for anonymous namespace
and fixes an app compatibility bug.
Bug: http://b/36008422
Test: start app from http://b/36008422 and make sure it runs
Change-Id: Ie148418b944379ee1000e7274f2f6c1eca511d6c
diff --git a/linker/linker.cpp b/linker/linker.cpp
index a05cd3b..e5a356f 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -2102,8 +2102,7 @@
"(anonymous)",
nullptr,
library_search_path,
- // TODO (dimitry): change to isolated eventually.
- ANDROID_NAMESPACE_TYPE_REGULAR,
+ ANDROID_NAMESPACE_TYPE_ISOLATED,
nullptr,
&g_default_namespace);