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 committed 2021-06-16 13:26:21 -07:00
1 parent 47f8a1c3ef
commit 58ffbef8f0
5 files changed
+7 -7

No files matched your search

@@ -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);