Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51ca6090 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Check for taskbar 3 button flag when initializing RotationContextualButton

Fixes: 190063583
Change-Id: Ibc8ee6586cdf7316f61bae9fc5eff39b4b9992f1
parent 161027dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
        }
    }