From a6392616463b53b2a9b2ec85eaaea25ad42b3895 Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Wed, 19 Mar 2025 15:09:59 -0700 Subject: Make sure IME state is updated on BubbleExpandedView This was only getting set in certain situations; make sure to always set it. Flag: EXEMPT bugfix Test: manual - expand bubbles on phone landscape, trigger IME - rotate device so it's portrait => observe that expanded view is at the right size Bug: 397135369 Change-Id: Id92d2028446ff754284ae23b979e90d9eef38f0b --- .../Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java index 3dce45690cf2..166f17235ffb 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java @@ -2958,6 +2958,9 @@ public class BubbleStackView extends FrameLayout if (mIsExpanded) { mExpandedViewAnimationController.animateForImeVisibilityChange(visible); BubbleExpandedView expandedView = getExpandedView(); + if (expandedView != null) { + expandedView.setImeVisible(visible); + } if (mPositioner.showBubblesVertically() && expandedView != null) { float selectedY = mPositioner.getExpandedBubbleXY(getState().selectedIndex, getState()).y; -- cgit v1.2.3-59-g8ed1b