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

Commit 9878124a authored by Danesh M's avatar Danesh M Committed by Gerrit Code Review
Browse files

Lockscreen : Fix dead-zone in bottom area

Use rawY for intercept calcualtion due to the dynamic
height nature of the bottom area view.

Change-Id: I5b217ca3c4f43559b9e50ec49f97a7307c03bcea
parent b90fd3df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1115,7 +1115,7 @@ public class NotificationPanelView extends PanelView implements

    private void handleQsDown(MotionEvent event) {
        if (event.getActionMasked() == MotionEvent.ACTION_DOWN
                && shouldQuickSettingsIntercept(event.getX(), event.getY(), -1)) {
                && shouldQuickSettingsIntercept(event.getX(), event.getRawY(), -1)) {
            mQsTracking = true;
            onQsExpansionStarted();
            mInitialHeightOnTouch = mQsExpansionHeight;