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

Commit 2ec31ccf authored by Jiaming Liu's avatar Jiaming Liu
Browse files

[Bubbles] Ensure switch-in view visibility

For quick switches A->B->A, there is a chance that the animation
end callback of A->B happens after prepareForAnimateIn of B->A.
This will cause A to be invisible after the animation and the
bubble will disappear. This CL ensures A's visibility in
animation start callback of B->A to prevent such issues.

Bug: 403612574
Test: Manually switch between bubbles
Flag: EXEMPT bugfix
Change-Id: I032bdd3a1c7ac6977025fb4455724aa7eab994a1
parent 256c84d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -382,6 +382,7 @@ public class BubbleBarAnimationHelper {
            @Override
            public void onAnimationStart(Animator animation) {
                bbev.setSurfaceZOrderedOnTop(true);
                bbev.setVisibility(VISIBLE);
            }

            @Override