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

Commit a23f16b6 authored by Mady Mellor's avatar Mady Mellor
Browse files

If bubble bar is collapsing, hide the IME

We do this in stackview, should also do it for layerview.

Flag: com.android.wm.shell.enable_bubble_bar
Test: manual - expand a bubble, show the IME, lock the device, unlock
               the device
             => observe that the IME is not still on screen
Fixes: 353899205
Change-Id: Ie3bf633e8f2428a509110bb2ea073eaffbaa7094
parent f9c546be
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2001,6 +2001,10 @@ public class BubbleController implements ConfigurationChangeListener,
            // 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();
            }
        }