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

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

Change-Id: Ida69d5187715603b75eae06fb758ba92fecda614
This commit is contained in:
Vinit Nayak
2021-06-04 02:57:03 +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());
}
}