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

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

Make STL swipe distances configurable

This CL changes the userActions map from a Map<UserAction, SceneKey> to
Map<UserAction, UserActionResult>. In addition to the target SceneKey,
the UserActionResult also exposes a UserActionDistance that can be used
to specify the distance of the user action.

This CL makes sure that usages of the previous API still work by making
SceneKey implement UserActionResult.

Bug: 321932826
Test: atest SwipeToSceneTest
Flag: N/A
Change-Id: I6b3832f82a72d3d1dca8cef1c58ccb87b8ec2220
parent 1d576236
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