summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Yuxin Hu <yuxinhu@google.com> 2024-04-23 20:40:36 +0000
committer Yuxin Hu <yuxinhu@google.com> 2024-04-25 23:43:31 +0000
commitafba584c1d61375c6e6e4ef706ede71ef4e91507 (patch)
tree0b9a5a19728722617aa4738c56331a2c643439a1 /libs/gui/ConsumerBase.cpp
parent9c01ea307db822c56e6e6eeb58d1eca942fb2325 (diff)
Fix a missing case in unloading system driver
When app requests to use ANGLE on devices without an ANGLE apk installed, but the device has preloaded native GLES driver, the current should_unload_system_driver() function does not recognize that we should unload the preloaded GLES driver, and load the ANGLE driver from system parition. This CL adds this missed check in should_unload_system_driver() Bug: b/333483712 Test: atest android.angle.cts.CtsAngleDeveloperOptionHostTest Result: https://android-build.corp.google.com/abtd/run/L47700030003349338/ Change-Id: I4460eed9f05ee0e19ddb6e4d2a3375701414c458
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions