From 681154e53380fbea834d229b0e9238cb5a6d0a5a Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Fri, 5 Feb 2021 00:27:59 -0800 Subject: [PATCH] After AA+Search Edu, bring up IME Bug: 179154570 Test: Manual Change-Id: I2d010103dd37b84b3672ba0d6ff5897373991585 --- .../src/com/android/launcher3/search/DeviceSearchEdu.java | 1 + .../launcher3/allapps/AllAppsInsetTransitionController.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/quickstep/src/com/android/launcher3/search/DeviceSearchEdu.java b/quickstep/src/com/android/launcher3/search/DeviceSearchEdu.java index 425e557ecb..7013704d3e 100644 --- a/quickstep/src/com/android/launcher3/search/DeviceSearchEdu.java +++ b/quickstep/src/com/android/launcher3/search/DeviceSearchEdu.java @@ -83,6 +83,7 @@ public class DeviceSearchEdu extends AbstractSlideInView implements @Override protected void handleClose(boolean animate) { handleClose(animate, ANIMATION_DURATION); + mLauncher.getAllAppsController().getInsetController().show(); mLauncher.getStateManager().removeStateListener(this); } diff --git a/src/com/android/launcher3/allapps/AllAppsInsetTransitionController.java b/src/com/android/launcher3/allapps/AllAppsInsetTransitionController.java index f6e54aaec4..b34c8b8150 100644 --- a/src/com/android/launcher3/allapps/AllAppsInsetTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsInsetTransitionController.java @@ -86,6 +86,10 @@ public class AllAppsInsetTransitionController { mApps = appsView; } + public void show() { + mApps.getWindowInsetsController().show(WindowInsets.Type.ime()); + } + public void hide() { if (!Utilities.ATLEAST_R) return;