summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.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-08-02 16:49:02 +0000
commit3b218416e00499480c6789252ae71783721b93d9 (patch)
tree1f49eea47c812ac2c6c11b452aca9f3619265230 /libs/androidfw/ResourceTimer.cpp
parent63ceb948c34876eb4d8d4584f6e438634e235d1d (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 Fixes: 239508705 Change-Id: I7ad8c4a4df8ff335ea9b3de428521b24e59002ee Merged-In: I7ad8c4a4df8ff335ea9b3de428521b24e59002ee
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions