From bf4a91b0f1d75833f8013dc4a2778cc8ca997bdc Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Wed, 17 Nov 2021 14:04:25 -0800 Subject: [PATCH] Use TOUCHABLE_INSETS_REGION when IME is visible This ensures the dismiss button is fully clickable even if taskbar is stashed. Test: Stash taskbar, can dismiss keyboard by tapping anywhere on the back button (Same with taskbar unstashed) Fixes: 206851484 Change-Id: I06f86191e36b596a928c8db8d67a012be033daba --- .../android/launcher3/taskbar/TaskbarDragLayerController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarDragLayerController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarDragLayerController.java index 8c6185cb0f..81039d4d58 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarDragLayerController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarDragLayerController.java @@ -143,8 +143,7 @@ public class TaskbarDragLayerController { // Let touches pass through us. insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION); } else if (mControllers.navbarButtonsViewController.isImeVisible()) { - insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_CONTENT); - insetsIsTouchableRegion = false; + insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION); } else if (!mControllers.uiController.isTaskbarTouchable()) { // Let touches pass through us. insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION);