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

Commit f4919e0e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix IME hanging around" into rvc-dev am: a7ef29df am: b56f1042

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11844159

Change-Id: I687223907b4ce6b7ac7e13f685a7a2f88d06f8c2
parents c0bebd85 b56f1042
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -1517,6 +1517,12 @@ public class BubbleStackView extends FrameLayout
                if (previouslySelected != null) {
                    previouslySelected.setContentVisibility(false);
                }
                if (previouslySelected != null && previouslySelected.getExpandedView() != null) {
                    // Hide the currently expanded bubble's IME if it's visible before switching
                    // to a new bubble.
                    previouslySelected.getExpandedView().hideImeIfVisible();
                }

                updateExpandedBubble();
                requestUpdate();

@@ -2433,8 +2439,6 @@ public class BubbleStackView extends FrameLayout
            Log.d(TAG, "updateExpandedBubble()");
        }

        hideImeFromExpandedBubble();

        mExpandedViewContainer.removeAllViews();
        if (mIsExpanded && mExpandedBubble != null
                && mExpandedBubble.getExpandedView() != null) {