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

Skip to content
Commit 1331d7ab authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Fix the visibility threshold of BaseContentOverscrollEffect

This CL fixes the visibility threshold used when animating the offset of
any BaseContentOverscrollEffect. For some reason, the previous threshold
that was passed in the Animatable constructor was ignored and we have to
provide it in the spec instead.

I also decided to increase the threshold to 1f, as there was no
noticeable visual difference between 1f and 0.5f but there was a
noticeable latency difference.

Bug: 378470603
Test: Manual, tried with a very high threshold and noticed that it
 wasn't picked up but now it is.
Flag: com.android.systemui.scene_container
Change-Id: If913aeb52f130cbbc171b2b6ea531559f7b4e006
parent d5abe5e3
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