diff options
author | 2024-11-12 15:10:34 +0000 | |
---|---|---|
committer | 2024-11-12 15:11:04 +0000 | |
commit | 4fb4634292d72e6c00fdb87d1c97cd80431c2fc3 (patch) | |
tree | 6a74231f22680ea3e757c63f23f1e40eb7ce5f17 /api/api.go | |
parent | eed749f2e00802fb42837fa792b92f2b297c6a2b (diff) |
STL flingToScroll should return the consumed velocity
flingToScroll() was introduced in ag/29700350.
We initially assumed that performFling() would return the consumed
velocity, as many other Compose APIs do. However, this particular
function returns the remaining velocity.
To ensure consistency, our flingToScroll function should also return the
consumed velocity. We have updated the test to reflect this expected
behavior.
Test: atest PriorityNestedScrollConnection
Bug: 370949877
Flag: com.android.systemui.scene_container
Change-Id: I2fe883491a0681b72030b2b64493712d24867fc8
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions