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

Commit cacbf25a authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "SystemUI: fix SearchPanel gesture in landscape mode." into cm-10.2

parents f5bd073c 6e300fbb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -471,6 +471,7 @@ public class NavigationBarView extends LinearLayout implements BaseStatusBar.Nav
        if (NavbarEditor.isDevicePhone(mContext)) {
            rot = mDisplay.getRotation();
            mVertical = (rot == Surface.ROTATION_90 || rot == Surface.ROTATION_270);
            mDelegateHelper.setSwapXY(mVertical);
        } else {
            mVertical = getWidth() > 0 && getHeight() > getWidth();
        }