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

Commit faac4f29 authored by Danesh M's avatar Danesh M
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
(cherry picked from commit 9878124a)

CYNGNOS-2177

Change-Id: I68e98b93840e2dbceb57f1f9f6a7ef2b8363343a
parent d6c2902a
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;