summaryrefslogtreecommitdiff
path: root/libs/graphicsenv/GraphicsEnv.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2020-05-08 14:23:34 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2020-05-08 14:23:34 -0700
commit5b7604f528abd48a54e66f9f08ecded12ec26e24 (patch)
treef30c7811f0a793952f613e0a6072ed4ac92cc197 /libs/graphicsenv/GraphicsEnv.cpp
parente32877afccb09f4d6fe0f24586a07f748b92e23e (diff)
libgraphicsenv: minor refactor on a namespace creation flag
Test: build, flash and boot Change-Id: I46fa4662a5a5e7ec13bd019c2d6533ba1923efb5
Diffstat (limited to 'libs/graphicsenv/GraphicsEnv.cpp')
-rw-r--r--libs/graphicsenv/GraphicsEnv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/graphicsenv/GraphicsEnv.cpp b/libs/graphicsenv/GraphicsEnv.cpp
index e49fb0859e..cfc7e98da3 100644
--- a/libs/graphicsenv/GraphicsEnv.cpp
+++ b/libs/graphicsenv/GraphicsEnv.cpp
@@ -623,8 +623,7 @@ android_namespace_t* GraphicsEnv::getAngleNamespace() {
mAngleNamespace = android_create_namespace("ANGLE",
nullptr, // ld_library_path
mAnglePath.c_str(), // default_library_path
- ANDROID_NAMESPACE_TYPE_SHARED |
- ANDROID_NAMESPACE_TYPE_ISOLATED,
+ ANDROID_NAMESPACE_TYPE_SHARED_ISOLATED,
nullptr, // permitted_when_isolated_path
nullptr);