diff options
author | 2024-11-20 11:28:44 +0000 | |
---|---|---|
committer | 2024-11-25 18:56:06 +0000 | |
commit | 7918c82519d65001c21057319793816898cfe0f1 (patch) | |
tree | 21b82133abcfdd603682239c8721a8c36b9d3069 /vulkan/libvulkan/api.cpp | |
parent | a4bec9be569b5a60d860bc481c5444b54e890aa2 (diff) |
Refactor PointerChoreographer lock
Pointer choreographer and WindowInfoListener use separate locks which
is problematic. As WindowInfosUpdate callback is triggered from the
display thread, a deadlock might occur due to race between display and
reader thread. Both trying to acquire both the locks.
This becomes much more likely when we have multiple displays connected.
Test: Verify pointer indicators are hidden on screenshots of secure windows
Test: atest inputflinger_tests
Bug: 367660694
Flag: EXEMPT refactor
Change-Id: I7417c0071322a093643734432f8f0236bd89a317
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions