Merge "Fix issue with touches falling through nav bar in 3 button nav" into tm-qpr-dev

This commit is contained in:
Winson Chung
2022-09-28 16:43:41 +00:00
committed by Android (Google) Code Review

View File

@@ -541,10 +541,12 @@ public class NavigationBar extends ViewController<NavigationBarView> implements
if (!mImeVisible) {
// IME not showing, take all touches
info.setTouchableInsets(InternalInsetsInfo.TOUCHABLE_INSETS_FRAME);
return;
}
if (!mView.isImeRenderingNavButtons()) {
// IME showing but not drawing any buttons, take all touches
info.setTouchableInsets(InternalInsetsInfo.TOUCHABLE_INSETS_FRAME);
return;
}
}