summaryrefslogtreecommitdiff
path: root/services/inputflinger/InputManager.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-06-28 21:48:19 +0000
commit1224faa7c541363e41e77fd377ad53329bbea31b (patch)
tree63a9401f1631618f4127ed4fe9a8e7e7a90249dc /services/inputflinger/InputManager.cpp
parent5d2d19c5386c06e5ac7c8a493f7f07ae8d621a6d (diff)
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
Diffstat (limited to 'services/inputflinger/InputManager.cpp')
0 files changed, 0 insertions, 0 deletions