summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2022-07-28 23:18:36 -0400
committer Evan Laird <evanlaird@google.com> 2022-07-29 10:37:11 -0400
commit03c1d21c3e59da8aa5b8531e0449606c1d5563f6 (patch)
tree9705135dcc93f675498ac49bc67962a9791649d6 /libs/hwui/FrameInfoVisualizer.cpp
parent1d7f570eaa4115133e65905f1aa56a3a9d9377a5 (diff)
Allow system info to be set visible even if we don't animate
CollapsedStatusBarFragment uses disable flags to show and hide the system info in two cases: when showing the keyguard and when showing quick settings. This animation causes the alpha to animate to zero AND the visibility to be View.INVISIBLE. This means that the system event animation only has the context to set the alpha of the system status area -- _not_ the visibility. In the case where the disable flags change while a system status event animation is in progress, CollapsedStatusBarFragment would bail on the _entire_ animation, including the change from View.INVISIBLE to View.VISIBLE, which is crucial for unhiding the view eventually. This change simply allows CollapsedStatusBarFragment to set the system info area back to View.VISIBLE even if it doens't control the overall animation. Test: atest CollapsedStatusBarFragmentTest Fixes: 238968127 Change-Id: I7ad8c4a4df8ff335ea9b3de428521b24e59002ee
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions