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

Skip to content
Commit 0b558a93 authored by Matt Pietal's avatar Matt Pietal
Browse files

Do not handle touches next to shelf

NSSL would return true for all touches below the last notification,
and to the right of the shelf. This is essentially empty space.
The reason for this is the SwipeHelper is always returning true,
which would set horizontalSwipeWantsIt == true even though that
is clearly not true on a tap.

This causes an issue with tapping the unlocked icon when the
last notification is directly above it. The shelf was taking
the touch directly over lock icon, preventing device unlock.

Instead, use the swipe information from the intercept event which
seems to be more accurate, and carry this state to the onTouch
event.

Fixes: 370270324
Fixes: 358424256
Test: manual - horizontal swipe notifications
Test: manual - vertically swipe notifications
Test: manual - all touch interactions with notifs
Test: manual - tap on shelf to expand shade
Flag: EXEMPT bugfix
Change-Id: I906da1cf5e5106ada355232941399efe7f1d3b14
parent 472e3aa9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment