diff options
author | 2025-01-06 13:28:21 +0100 | |
---|---|---|
committer | 2025-01-06 14:27:52 +0100 | |
commit | c3513a5f0645574884b61baa2200a0e4cfb5da12 (patch) | |
tree | 5ccedef02422ce9f6d4f9171466110995a40873c /libs/androidfw/Util.cpp | |
parent | d590a3ddb4dd01f19668f38ac77eacaeeaba8e2b (diff) |
Introduce disableSwipesWhenScrolling()
This CL introduces Modifier.disableSwipesWhenScrolling() in
ContentScope to allow contents to temporarily disable their swipe user
actions while a scrollable consumes some scroll events. This allows to
make sure that a scrollable is being overscrolled when reaching its
bounds rather than directly starting a scene transition.
Bug: 383288923
Test: atest ContentTest
Flag: EXEMPT this is not used anywhere yet
Change-Id: I589861fd27a91bdbac2db7054618574918089a26
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions