summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Riley Jones <jonesriley@google.com> 2024-03-08 20:56:03 +0000
committer Riley Jones <jonesriley@google.com> 2024-03-08 20:56:03 +0000
commit642e621fa5c9f21b829557e8fb8b68a97a48a2d0 (patch)
tree94aa255641edfc09db172670cbc11dfaf37c981e /libs/hwui/FrameInfoVisualizer.cpp
parent4da8139b11ea1b11fbf9988963e1223d5341cf70 (diff)
Unlocking getDisplayByUserIdAndWindowId
The above function calls a synchronized function in a different service, which can cause an ANR when that service is slow to respond. This change restructures the function to only apply a lock to the portion that does not call out to the other service. Logic that should be synchronized will remain so, but this should prevent needlessly holding onto the lock. Bug: 327710829 Test: atest AbstractAccessibilityServiceConnectionTest Flag: N/A Change-Id: I68f005e48660a70a9272bbf873020118ac898e82
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions