diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarIconController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarIconController.java index 5d4b8b7f4e..549e26cb22 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarIconController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarIconController.java @@ -73,7 +73,7 @@ public class TaskbarIconController { mTaskbarView.getLayoutParams().height = mActivity.getDeviceProfile().taskbarSize; mDragLayer.init(new TaskbarDragLayerCallbacks(), mTaskbarView); - if (navMode == SysUINavigationMode.Mode.THREE_BUTTONS) { + if (mActivity.canShowNavButtons()) { mRotationButtonController.setRotationButton(mTaskbarView.getContextualRotationButton()); } }