Merge "Check for taskbar 3 button flag when initializing RotationContextualButton" into sc-v2-dev am: 759490be1d

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14826862

Change-Id: I2ee6ce03bb0a9cd96d47605cb0193c8780c4d5c8
This commit is contained in:
Vinit Nayak
2021-06-04 02:09:44 +00:00
committed by Automerger Merge Worker
@@ -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());
}
}