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

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

Expose new STLState.seekFoo() APIs

This CL exposes new APIs on MutableSTLState to easily seek a transition.
The APIs are based on the predictive back APIs: the transitions are
driven by a Flow and the transition is confirmed once the flow stops
emitting normally, or cancelled if the flow is cancelled.

Given that those new APIs are suspend functions, waiting for the
animation to finish or cancelling it works out of the box.

Bug: 362727477
Test: atest SceneTransitionLayoutStateTest
Flag: com.android.systemui.scene_container
Change-Id: Idc36c1eb2fff7c5f299e36cc2a495b921b878cf1
parent 71399a66
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