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

Commit e6e77ca4 authored by Winson Chung's avatar Winson Chung
Browse files

Hide the IME when starting quickstep.

Bug: 73285089
Change-Id: Ifad6ffe64467754ade966165ee3c274ac9445c1f
parent 5715d9e6
Loading
Loading
Loading
Loading
+360 B (121 KiB)

File changed.

No diff preview for this file type.

+11 −0
Original line number Diff line number Diff line
@@ -115,4 +115,15 @@ public class RecentsAnimationWrapper {
            }
        });
    }

    public void hideCurrentInputMethod() {
        BackgroundExecutor.get().submit(() -> {
            synchronized (this) {
                TraceHelper.partitionSection("RecentsController", "Hiding currentinput method");
                if (controller != null) {
                    controller.hideCurrentInputMethod();
                }
            }
        });
    }
}
+1 −0
Original line number Diff line number Diff line
@@ -521,6 +521,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
        notifyGestureStartedAsync();
        setStateOnUiThread(STATE_GESTURE_STARTED);
        mGestureStarted = true;
        mRecentsAnimationWrapper.hideCurrentInputMethod();
        mRecentsAnimationWrapper.enableInputConsumer();
        ActivityManagerWrapper.getInstance().closeSystemWindows(
                CLOSE_SYSTEM_WINDOWS_REASON_RECENTS);