Merge "Fix back button touch region too small" into main

This commit is contained in:
Johannes Gallmann
2025-03-11 08:45:34 -07:00
committed by Android (Google) Code Review
@@ -870,6 +870,9 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
if (predictiveBackThreeButtonNav() && buttonType == BUTTON_BACK) {
// set up special touch listener for back button to support predictive back
setBackButtonTouchListener(buttonView, navButtonController);
// Set this View clickable, so that NearestTouchFrame.java forwards closeby touches to
// this View
buttonView.setClickable(true);
} else {
buttonView.setOnClickListener(view ->
navButtonController.onButtonClick(buttonType, view));