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

Commit 3a5f6c0a authored by Lyn Han's avatar Lyn Han
Browse files

Skip reorder animation while collapsing

Fixes: 178499353
Test: add new bubble while expanded, then collapse
    => collapse animation runs okay
Change-Id: Ieca5ebc4d799ce081794620928fa90e914c30dfc
parent 8f046c76
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1475,6 +1475,9 @@ public class BubbleStackView extends FrameLayout
     * Update bubble order and pointer position.
     */
    public void updateBubbleOrder(List<Bubble> bubbles) {
        if (isExpansionAnimating()) {
            return;
        }
        final Runnable reorder = () -> {
            for (int i = 0; i < bubbles.size(); i++) {
                Bubble bubble = bubbles.get(i);