diff options
| author | 2025-02-04 13:11:13 +0100 | |
|---|---|---|
| committer | 2025-02-04 13:54:46 +0100 | |
| commit | 880ef4fa59535266bcf8db0ec23717eb857b2998 (patch) | |
| tree | 7a7dab50bc5593e212428dba00db4e7571c94aa4 /libs/androidfw/misc.cpp | |
| parent | 6459fc72e07a1e8b87f0d521866758a85f46b989 (diff) | |
Disable nested drag only in disableSwipesWhenScrolling()
This CL is changing the implementation of disableSwipesWhenScrolling()
so that only the nested scroll behavior of Modifier.nestedDraggable() is
disabled when scrolls have been consumed by a nested scrollable, instead
of disabling the entire PointerInputModifierNode and removing it from
composition.
This change is necessary because Compose does not really support the
removal of a PointerInputModifierNode during a gesture (see b/389906055
for details).
Bug: 389906055
Test: atest NestedDraggableTest
Test: atest ContentTest
Flag: com.android.systemui.scene_container
Change-Id: I6b0bca8f6915c8f7acf67ff81241ae36daf30dd2
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions