Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4fb46342 authored by omarmt's avatar omarmt
Browse files

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
parent eed749f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment