summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2024-06-07 15:00:02 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2024-06-12 08:28:20 +0000
commit5c93e7c106b1bfeaddc9fadc6acdc1c2e7fba406 (patch)
tree13adae046a91422a33fc6d727ebb9dd96775b45b /native/android/input.cpp
parent7f7d690aecf7d915e97997f61d00fc28fcf3c8ec (diff)
Optimize DisplayRepository to reduce lock contention
Despite all the calls to getDisplays() were going on in the background, they were often taking a lot of time, and ending up keeping a lock that was blocking other threads and processes. This change reduces the binder calls to get displays to only one per addition. Bug: 345472038 Bug: 344362341 Test: DisplayRepositoryTest Flag: com.android.systemui.enable_efficient_display_repository Change-Id: I77a463db42c5ae2c06d59f6bcef2f3f89fa05bef
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions