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

Commit 2784bdda authored by Mady Mellor's avatar Mady Mellor
Browse files

Hide the IME when dragging the expanded view for bubble bar

Otherwise dismiss target isn't available and there's a weird inset
on the bubble bar expanded view.

Flag: com.android.wm.shell.enable_bubble_bar
Test: manual - expand bubble in bubble bar, show IME, start dragging
               the view
             => observe that IME is dismissed
Fixes: 359390685
Change-Id: I56a1cf168fb06af71f7c6752f5642640e1768fc8
parent f9c546be
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -353,6 +353,11 @@ public class BubbleBarExpandedView extends FrameLayout implements BubbleTaskView
        if (isDragging != mIsDragging) {
            mIsDragging = isDragging;
            updateSamplingState();

            if (isDragging && mPositioner.isImeVisible()) {
                // Hide the IME when dragging begins
                mManager.hideCurrentInputMethod();
            }
        }
    }