summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2023-06-28 15:09:09 +0000
committer Peiyong Lin <lpy@google.com> 2023-10-17 17:49:08 +0000
commite88e0ba23124042c6127b2258e67b39b116bc47d (patch)
tree63b5f1a24f71b39bdadcef7fb03ad21bf52745b8 /libs/binder/RpcState.cpp
parentdfc6953951da73f131c6e99e245c4eee7c8ae341 (diff)
[Cherry-pick] Avoid unloading ANGLE.
Previously when ANGLE is the default GLES driver and preloaded, by setting an application to use ANGLE when ANGLE apk doesn't present, the system ANGLE should be used. However, the loader will unload the default driver and load ANGLE. And hence when ANGLE is the default GLES driver, it will be unloaded and then reloaded. This patch makes sure the loader skips unloading and immediately return in this case. Minor: Only unload the drivers when there are preloaded drivers. Bug: b/283858001 Test: verified with camera Test: verified by forcing GLES driver preloading Change-Id: I82b6408405ef7c507e50ab259204bdce95fda110 Merged-In: I82b6408405ef7c507e50ab259204bdce95fda110
Diffstat (limited to 'libs/binder/RpcState.cpp')
0 files changed, 0 insertions, 0 deletions