+13
−0
packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ContentTest.kt
0 → 100644
+69
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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