summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Galia Peycheva <galinap@google.com> 2023-08-14 17:05:45 +0000
committer Galia Peycheva <galinap@google.com> 2023-08-14 17:05:45 +0000
commit178263c8b0f1430681b88ab9f276a31d2ea3618b (patch)
tree5fb56c29f929e07f9074f9944f0bb0b2dcbd8178 /libs/hwui/FrameInfoVisualizer.cpp
parent4b187b2b118b4bea11d26b8ef2fb4675e9ab4968 (diff)
Make tv menu mode switch wait for focus change
The TvPipMenuController switches between menu modes and requests focus changes from the WM. However, the focus change is not directly tied to the switch of the menu modes. Meaning that if something goes wrong in the focus changing, we would end up in a state where e.g. the pip menu is open, but the window doesn't have any focus, which looks broken. This CL makes the mode switching happen after any needed focus changes are complete. Bug: 277045365 Test: atest TvPipMenuControllerTest Change-Id: I1e728e78dd56eba172745bf5dc4b4efcee22de84
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions