We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0829ece + f5da7ee commit f3166e4Copy full SHA for f3166e4
1 file changed
libs/graphicsenv/GraphicsEnv.cpp
@@ -265,7 +265,8 @@ android_namespace_t* GraphicsEnv::getDriverNamespace() {
265
266
auto vndkNamespace = android_get_exported_namespace("vndk");
267
if (!vndkNamespace) {
268
- return nullptr;
+ mDriverNamespace = nullptr;
269
+ return mDriverNamespace;
270
}
271
272
mDriverNamespace = android_create_namespace("updatable gfx driver",
@@ -617,7 +618,8 @@ android_namespace_t* GraphicsEnv::getAngleNamespace() {
617
618
619
620
621
+ mAngleNamespace = nullptr;
622
+ return mAngleNamespace;
623
624
625
if (!linkDriverNamespaceLocked(mAngleNamespace, vndkNamespace, "")) {
0 commit comments