diff options
author | Tony Wickham <twickham@google.com> | 2021-11-17 14:04:25 -0800 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2021-11-17 14:04:25 -0800 |
commit | bf4a91b0f1d75833f8013dc4a2778cc8ca997bdc (patch) | |
tree | 64e0b30190c83337e4f0f11fb301007e29995986 /quickstep/src/com/android/launcher3/taskbar/TaskbarDragLayerController.java | |
parent | b797ca77b22fabb88375aba330bf87ab770b00e7 (diff) |
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
Diffstat (limited to 'quickstep/src/com/android/launcher3/taskbar/TaskbarDragLayerController.java')
-rw-r--r-- | quickstep/src/com/android/launcher3/taskbar/TaskbarDragLayerController.java | 3 |
1 files changed, 1 insertions, 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); |