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

Commit 43d32906 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't tell expanded controller about gestures unless we are expanded." into rvc-dev

parents 4d504ec8 5578b7c9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -445,6 +445,10 @@ public class BubbleStackView extends FrameLayout
            final boolean clickedBubbleIsCurrentlyExpandedBubble =
                    clickedBubble.getKey().equals(mExpandedBubble.getKey());

            if (isExpanded()) {
                mExpandedAnimationController.onGestureFinished();
            }

            if (isExpanded() && !clickedBubbleIsCurrentlyExpandedBubble) {
                if (clickedBubble != mBubbleData.getSelectedBubble()) {
                    // Select the clicked bubble.
@@ -464,7 +468,6 @@ public class BubbleStackView extends FrameLayout
                    mBubbleData.setExpanded(!mBubbleData.isExpanded());
                }
            }
            mExpandedAnimationController.onGestureFinished();
        }
    };