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

Commit 52ff826a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Collapse bubbles if removing bubble via transition" into main

parents 6595e980 3f16887e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -447,9 +447,9 @@ public class BubbleBarLayerView extends FrameLayout
            bubble.cleanupViews(!inTransition);
            endAction.run();
        };
        if (mBubbleData.getBubbles().isEmpty()) {
            // we're removing the last bubble. collapse the expanded view and cleanup bubble views
            // at the end.
        if (mBubbleData.getBubbles().isEmpty() || inTransition) {
            // If we are removing the last bubble or removing the current bubble via transition,
            // collapse the expanded view and clean up bubbles at the end.
            collapse(cleanUp);
        } else {
            cleanUp.run();