diff options
author | Dimitry Ivanov <dimitry@google.com> | 2017-03-27 15:42:17 -0700 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2017-03-27 15:42:17 -0700 |
commit | c9dced28b6895edf6b80831d3a9bd5d5d13ee50c (patch) | |
tree | f1a077fa5619592ab100d37d7c366741946175d9 /linker/linker.cpp | |
parent | e98d1e68ce37bb9238e3c50ea6b01d1057adb2eb (diff) |
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
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r-- | linker/linker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index a05cd3b8a..e5a356f79 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -2102,8 +2102,7 @@ bool init_anonymous_namespace(const char* shared_lib_sonames, const char* librar "(anonymous)", nullptr, library_search_path, - // TODO (dimitry): change to isolated eventually. - ANDROID_NAMESPACE_TYPE_REGULAR, + ANDROID_NAMESPACE_TYPE_ISOLATED, nullptr, &g_default_namespace); |