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

This commit is contained in:
Vinit Nayak authored and Android (Google) Code Review committed 2021-06-03 22:51:54 +00:00
commit 759490be1d
1 file changed
+1 -1
@@ -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());
}
}