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

Skip to content
Commit 9968e51d authored by William Xiao's avatar William Xiao Committed by Android Build Coastguard Worker
Browse files

Fix top and bottom swipes not working after touches on glanceable hub

The bouncer and shade touch handlers coordinate carefully with the
hub's touch handling to allow for vertical swipes on the grid itself,
as long the hub iself is not consuming the touch. The hub relied on the
touch handlers to reset the nested scrolling state between touches.

However, if the touch is entirely consumed by the hub, such as when
tapping on a CTA tile button, scrolling on a widget has a list, or
moving the UMO, the touch state is not reset. This leads to gestures
that are not nested scrolls, such as swiping up from the very bottom
for bouncer or very top for shade to not work.

This CL resets the touch scroll state when a touch consumed by the hub
ends to fix these issues.

Bug: 368420327
Fixed: 368420327
Flag: com.android.systemui.communal_hub
Test: manually verified on device
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:20b553d64084aa36703ee4b2f922debd4fc591a9)
Merged-In: Ide4e6812b7e60e5301f4e3c2d668fb337ffce86c
Change-Id: Ide4e6812b7e60e5301f4e3c2d668fb337ffce86c
parent fba7eece
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