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

Commit 5ff043df authored by Roman Birg's avatar Roman Birg
Browse files

SystemUI: fix right hand side gestures on lockscreen



two finger quick pulldown was not accounting for being in the keyguard
adn was eating touch events when it shouldn't be.

Change-Id: I625d48a4002aaaf2d55d7efaed65d892ab7aa13c
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 2c7fc938
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1201,7 +1201,8 @@ public class NotificationPanelView extends PanelView implements

        final float w = getMeasuredWidth();
        float region = (w * (1.f/3.f)); // TODO overlay region fraction?
        final boolean showQsOverride = isLayoutRtl() ? (x < region) : (w - region < x);
        final boolean showQsOverride = isLayoutRtl() ? (x < region) : (w - region < x)
                && mStatusBarState == StatusBarState.SHADE;

        if (mQsExpanded) {
            return onHeader || (mScrollView.isScrolledToBottom() && yDiff < 0) && isInQsArea(x, y);