Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f5da7eec authored by Ethan Chen's avatar Ethan Chen
Browse files

Set linker namespaces to null if VNDK namespace is not available

The ANGLE namespace will be non-null if the VNDK namespace is not
available, meaning subsequent calls to getAngleNamespace will return a
non-null value even though the first call to getAngleNamespace will
return nullptr. Set mAngleNamespace to nullptr if an error occurs when
retrieving the VNDK namespace as well.

The same applies to the graphics driver namespace.

Test: lunch aosp_arm64-eng && m

Bug: 321123035

Change-Id: Iac55c51d904f42536fe2056bb108f4d768b029e3
parent 72d92efc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment