Enable 3 button nav for taskbar

Bug: 180046394
Test: Switched between gesture and button nav on
phone and tablet.

Change-Id: Iac2357a3256f8b6b36ca49d3680594a91e824a5f
This commit is contained in:
Vinit Nayak
2021-06-15 13:14:41 -07:00
parent 47f8a1c3ef
commit 58ffbef8f0
5 changed files with 7 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ public class TaskbarDragLayerController {
*/
public void updateInsetsTouchability(InsetsInfo insetsInfo) {
insetsInfo.touchableRegion.setEmpty();
if (mActivity.canShowNavButtons()) {
if (mActivity.isThreeButtonNav()) {
// Always have nav buttons be touchable
mControllers.navbarButtonsViewController.addVisibleButtonsRegion(
mTaskbarDragLayer, insetsInfo.touchableRegion);