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
This commit is contained in:
parent
b797ca77b2
commit
bf4a91b0f1
|
@ -143,8 +143,7 @@ public class TaskbarDragLayerController {
|
||||||
// Let touches pass through us.
|
// Let touches pass through us.
|
||||||
insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION);
|
insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION);
|
||||||
} else if (mControllers.navbarButtonsViewController.isImeVisible()) {
|
} else if (mControllers.navbarButtonsViewController.isImeVisible()) {
|
||||||
insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_CONTENT);
|
insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION);
|
||||||
insetsIsTouchableRegion = false;
|
|
||||||
} else if (!mControllers.uiController.isTaskbarTouchable()) {
|
} else if (!mControllers.uiController.isTaskbarTouchable()) {
|
||||||
// Let touches pass through us.
|
// Let touches pass through us.
|
||||||
insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION);
|
insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION);
|
||||||
|
|
Loading…
Reference in New Issue