summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2023-05-31 14:00:16 +0200
committer Johannes Gallmann <gallmann@google.com> 2023-06-01 12:22:47 +0200
commitc6f219e7b20ce8d4e12c1174abe43eca794543cd (patch)
tree47cb48da0fe7f0153f70104cfc6456503e7b41c1 /cmds/bootanimation/BootAnimation.cpp
parent3816d9b959b0d0dddbc4b536328534fb350aeac4 (diff)
Fix carrier name animation during qqs expand
The bug is a result of two recent changes: ag/20943168 and ag/22645423. The fix is very simple and sets the startPadding of the carrier group to the max width of the clock (when fully scaled) no matter the actual scale of the clock. As a result, the carrier group will never overlap the clock and it will also not move during the qqs expand animation. Since the collapsed state of the combined_qs_header is only there for animation purposes (as far as I understand) and is always faded out when collapsed, this change should not have any negative effects. Bug: 280016031 Test: atest ShadeHeaderControllerTest, Manual, i.e. testing the qqs expand and collapse animation with no carrier, one carrier, multiple carriers and rtl. Change-Id: Ie4745bd466fb1a24dcd47d6f85c545764d6c8662
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions