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

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

Reapply "Don't install a pointer input when there are no user actions"

This is a reland of ag/29669127, which was broken (and reverted in
ag/29690066) because SwipeToSceneNode was not properly handling the
update of its draggableHandler.

This reland fixes the issue by introducing a SwipeToSceneRootNode, which
recreates a new delegate node whenever draggableHandler has changed.
This approach was suggested by the Compose team in
http://shortn/_MUgPp4TRmY. A test covering this case was added in
SwipeToSceneTest.swipeToSceneSupportsUpdates().

Bug: 370913106
Test: atest SwipeToSceneTest
Flag: com.android.systemui.scene_container
Change-Id: Ifc1b88a813b6de153028db64aac6cd1103c94a66
parent e41386fa
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