commit | 5b986f016e34f8df2dec33bc16ab448a651810d8 | [log] [tgz] |
---|---|---|
author | Android Build Merger (Role) <noreply-android-build-merger@google.com> | Tue Apr 24 00:32:53 2018 +0000 |
committer | Android Build Merger (Role) <noreply-android-build-merger@google.com> | Tue Apr 24 00:32:53 2018 +0000 |
tree | 95816ee545078860aff51aaccd7e888d7824bd3f | |
parent | a0123289e27a06257e559cd626f3070f885879e8 [diff] | |
parent | e6e77ca44d1ae0bfa8c76b02e177b0ccf3fc0fe0 [diff] |
[automerger] Hide the IME when starting quickstep. am: e6e77ca44d Change-Id: I0443aa4bf0d7dd0a931d258194afffb484269528
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);