Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cf287686 authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix the bubbles expansion animation

Not quite certain why this regressed in udc since we haven't changed
this code.

animateExpansion calls updateExpandedView and sets the expanded view
container visible right before the animation started, this resulted
in a flash of the expanded view before it faded in from alpha 0.

This CL fixes the issue by moving the setVisibility call into
when the alpha animation starts. Additionally, it modifies one of
the calls to set this view 'gone' to 'invisible' which removes some
jank in the switching bubbles animation.

Test: manual - verify these animations look correct on phone & tablet:
                - expand a bubble for the first time
                - expand a bubble for the 2nd time
                - switch between multiple bubbles
                - create a bubble via bubble button
                - open a bubble via the notification
Bug: 271319404
Change-Id: Ia316df546b7cf81d6f3d06e7c451c8c603d22c55
parent 81739c0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment