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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user