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
1 file changed