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

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

Fix regression in SceneGestureHandler

This CL fixes a crash introduced in ag/25994973: if the user drags its
finger by the exact same amount as the touch slop, then the overSlop
will be 0f and we won't be able to compute in which direction the user
is dragging. This CL makes sure that the overSlop is not 0f, unless we
are intercepting a current swipe transition.

Bug: 291053278
Test: SwipeToSceneTest
Flag: N/A
Change-Id: Ia99a388a6d177fa706cc066d4a9223b8efa919dd
parent fb2738a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment