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

Commit 29be714f authored by Chris Li's avatar Chris Li
Browse files

Suppress the animation for launcher bubble bar jumpcut switch

Before, when launch a Task trampoline app into Bubble, the Bubble bar
will:
1. Show one Bubble icon
2. Show another Bubble icon (2 visible at same time)
3. Dismiss the first Bubble icon

After, it will show the first Bubble icon opening animation, and then
jumpcut to the second Bubble icon.

To achieve that:
1. Pass a signal to Launcher that such a Bubble update should suppress
   animation.
2. Make sure the first Bubble removal signal is sent with the second
   Bubble open signal in the same Bubble update.
3. Make sure the dispatching of Bubble removal signal will not cleanup
   the TaskView immediately, because we need the TaskView to be visible
   until the opening Bubble is visible.

Bug: 417848405
Test: atest WMShellUnitTests:BubbleDataTest
Flag: com.android.window.flags.fix_bubble_trampoline_animation
Change-Id: I584e45d51606bdf1c3c0003348521d8779efa848
parent e90beaf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment