Merge "Fix IME hanging around" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a7ef29df9e
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user