commit | ac292f3ab1cc28c5951768f1bd592e06f271a0aa | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Thu Oct 03 17:37:23 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Oct 03 17:37:23 2024 +0000 |
tree | 7d870e81b115a335a70ede89fa42c2e1dee35565 | |
parent | 98f97bdafb0e3d7437583fc727a1cd14015873e7 [diff] | |
parent | 2784bdda7f5179c2f2e8a81ff73c531f5cee7c0b [diff] |
Merge "Hide the IME when dragging the expanded view for bubble bar" into main
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java index ec235a5..2a90017 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java
@@ -353,6 +353,11 @@ if (isDragging != mIsDragging) { mIsDragging = isDragging; updateSamplingState(); + + if (isDragging && mPositioner.isImeVisible()) { + // Hide the IME when dragging begins + mManager.hideCurrentInputMethod(); + } } }