summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2024-10-04 14:33:31 +0200
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2024-10-04 14:42:41 +0200
commit04a358e0836818274b4cb868cabe45d049c2a282 (patch)
tree2f38f9cdf4bf1ed54c2e0e0130209adefd1b2668 /libs/androidfw/misc.cpp
parente41386fa469127f3a3972e0d781b52b3b4cfddbf (diff)
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
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions