summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2024-09-26 17:00:32 -0700
committer William Xiao <wxyz@google.com> 2024-09-27 10:51:13 -0700
commit20b553d64084aa36703ee4b2f922debd4fc591a9 (patch)
treed59907ce56772f38ae72abe5497c4ac300dc0c38 /libs/androidfw/StringPool.cpp
parent010ee587b60542d426c5abaa650e36f3dfca4d1c (diff)
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 Change-Id: Ide4e6812b7e60e5301f4e3c2d668fb337ffce86c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions