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

Commit 551ea1cf authored by Liran Binyamin's avatar Liran Binyamin Committed by Android (Google) Code Review
Browse files

Merge "Check that ime visibility changes in stack view" into main

parents 20467a89 9f5d9fc6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -280,6 +280,7 @@ public class BubbleStackView extends FrameLayout
    private int mCornerRadius;
    @Nullable private BubbleViewProvider mExpandedBubble;
    private boolean mIsExpanded;
    private boolean mIsImeVisible = false;

    /** Whether the stack is currently on the left side of the screen, or animating there. */
    private boolean mStackOnLeftOrWillBe = true;
@@ -2886,6 +2887,10 @@ public class BubbleStackView extends FrameLayout
     * and clip the expanded view.
     */
    public void setImeVisible(boolean visible) {
        if (mIsImeVisible == visible) {
            return;
        }
        mIsImeVisible = visible;
        if ((mIsExpansionAnimating || mIsBubbleSwitchAnimating) && mIsExpanded) {
            // This will update the animation so the bubbles move to position for the IME
            mExpandedAnimationController.expandFromStack(() -> {