Commit f5da7ee
Ethan Chen
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: Iac55c51d904f42536fe2056bb108f4d768b029e31 parent 72d92ef commit f5da7ee
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
617 | 618 | | |
618 | 619 | | |
619 | 620 | | |
620 | | - | |
| 621 | + | |
| 622 | + | |
621 | 623 | | |
622 | 624 | | |
623 | 625 | | |
| |||
0 commit comments