summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Evan Severson <evanseverson@google.com> 2023-04-14 11:19:22 -0700
committer Evan Severson <evanseverson@google.com> 2023-04-17 16:53:27 -0700
commit06c02d7832d92ac52056ffcaa4762e3a356a8e63 (patch)
treefb5ab8bd7bf40e983d17522b52ac77cbb2b88bf8 /libs/hwui/FrameInfoVisualizer.cpp
parent6520dbd0437f3bb64ee7d3da0594d5674d1b181c (diff)
Update FgsManager UI information on bg thread without lock
ActivityManagerService blocks on an awaiting incoming call while at the same time requiring that the lock be held to provide information used to make UI decisions. Here we copy data about which tasks are running and who the current profiles are under then lock then post to the background thread to load any needed UI data before updating the dialog on the main thread. Test: FgsManagerControllerTest Bug: 276882028 Change-Id: I53664adbb534b05de8b130ed06fca0535f683156
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions