summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Cody Northrop <cnorthrop@google.com> 2023-03-06 17:02:31 -0700
committer Cody Northrop <cnorthrop@google.com> 2023-03-07 03:11:00 +0000
commit37df61fa8ea644efd8d4c5fd1831f45f1ebfbe9b (patch)
tree2280e707f82444d45a1855a1e899399567c60ca9 /api/api.go
parent9ab308c67535bfb8e79d6bee4bff4813cf17e73f (diff)
GraphicsEnvironment: Fix ANGLE system driver selection logic
When ANGLE is the system driver, we had a check that would ensure the deferlist had been applied before allowing ANGLE as the default driver. But rather than look at the deferlist, the check looked at the opt-in list size. That logic wasn't working, so the default scenario would always give you the legacy driver. To fix, check that the deferlist itself is not empty. Test: atest CtsAngleIntegrationHostTestCases (results unchanged) Test: angle_trace_test w/ ANGLE and native selected via settings Bug: b/271862350 Change-Id: I698fae2145dbfcad8657d6f62034b18bf580b6bb
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions