commit | 98f97bdafb0e3d7437583fc727a1cd14015873e7 | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Thu Oct 03 17:17:36 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Oct 03 17:17:36 2024 +0000 |
tree | 384df756cf467fa4722e1db6d9f07841b8ad53b7 | |
parent | 7821203bd465caa0688561da750573deba89b7be [diff] | |
parent | a23f16b6b659ee19d3210ec98649439616e43ac9 [diff] |
Merge "If bubble bar is collapsing, hide the IME" into main
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java index af4a0c5..03b7c8b 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java
@@ -2001,6 +2001,10 @@ // in bubble bar mode, let the request to show the expanded view come from launcher. // only collapse here if we're collapsing. if (mLayerView != null && !isExpanded) { + if (mBubblePositioner.isImeVisible()) { + // If we're collapsing, hide the IME + hideCurrentInputMethod(); + } mLayerView.collapse(); } }