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

Commit c0269be8 authored by Kyrylo Mikos's avatar Kyrylo Mikos Committed by Steve Kondik
Browse files

SystemUI: fix SearchPanel gesture in landscape mode.

Change-Id: I8f98b30e9f66f1ae96c85363a8a4af679e1173d6
parent 9d57e8f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -596,6 +596,7 @@ public class NavigationBarView extends LinearLayout {
        if (NavbarEditor.isDevicePhone(mContext)) {
            int rotation = mDisplay.getRotation();
            mVertical = rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270;
            mDelegateHelper.setSwapXY(mVertical);
        } else {
            mVertical = getWidth() > 0 && getHeight() > getWidth();
        }