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

Commit d2bec52c authored by Ethan Chen's avatar Ethan Chen
Browse files

SystemUI: Fix quick-quick settings pulldown settings

* Sliding from the right side of the statusbar to show quicksettings
  should respect the settings option. Fix it.

Change-Id: Iaf5bf7a95bf6d63aaf88dccbfc2c6f988f49ec0d
parent 477f58dc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -857,8 +857,8 @@ public class NotificationPanelView extends PanelView implements
        final float x = event.getX();
        float region = (w * (1.f/4.f)); // TODO overlay region fraction?
        final boolean showQsOverride = mOneFingerQuickSettingsIntercept &&
                isLayoutRtl() ? (x < region) : (w - region < x)
                        && mStatusBarState == StatusBarState.SHADE;
                (isLayoutRtl() ? (x < region) : (w - region < x)
                        && mStatusBarState == StatusBarState.SHADE);

        return twoFingerDrag || showQsOverride || stylusButtonClickDrag || mouseButtonClickDrag;
    }