commit | e6e77ca44d1ae0bfa8c76b02e177b0ccf3fc0fe0 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri Apr 20 16:45:16 2018 -0700 |
committer | Winson Chung <winsonc@google.com> | Mon Apr 23 17:32:43 2018 -0700 |
tree | 28bb11c69f2d9c77da2140a529458327ae69db27 | |
parent | 5715d9e69b3bedf628b70d0f27a1cc2146e28e28 [diff] |
Hide the IME when starting quickstep. Bug: 73285089 Change-Id: Ifad6ffe64467754ade966165ee3c274ac9445c1f
diff --git a/quickstep/libs/sysui_shared.jar b/quickstep/libs/sysui_shared.jar index d2989ef..0adc83a 100644 --- a/quickstep/libs/sysui_shared.jar +++ b/quickstep/libs/sysui_shared.jar Binary files differ
diff --git a/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java b/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java index ebe2311..4ba9e02 100644 --- a/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java +++ b/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java
@@ -115,4 +115,15 @@ } }); } + + public void hideCurrentInputMethod() { + BackgroundExecutor.get().submit(() -> { + synchronized (this) { + TraceHelper.partitionSection("RecentsController", "Hiding currentinput method"); + if (controller != null) { + controller.hideCurrentInputMethod(); + } + } + }); + } }
diff --git a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java index ed7b7ab..7849f8c 100644 --- a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
@@ -521,6 +521,7 @@ notifyGestureStartedAsync(); setStateOnUiThread(STATE_GESTURE_STARTED); mGestureStarted = true; + mRecentsAnimationWrapper.hideCurrentInputMethod(); mRecentsAnimationWrapper.enableInputConsumer(); ActivityManagerWrapper.getInstance().closeSystemWindows( CLOSE_SYSTEM_WINDOWS_REASON_RECENTS);