mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Hide the IME when starting quickstep.
Bug: 73285089 Change-Id: Ifad6ffe64467754ade966165ee3c274ac9445c1f
This commit is contained in:
Binary file not shown.
@@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user