summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Liran Binyamin <liranb@google.com> 2024-03-05 12:16:07 -0500
committer Mady Mellor <madym@google.com> 2024-03-12 16:09:39 +0000
commitd1752daf7181c7b8fc24a7a8e0f0e2f7523011e7 (patch)
tree9785f51de4d075118fabf7ca722e13e60b2ca590 /libs/hwui/FrameInfoVisualizer.cpp
parent64ea99b48ca647440bdabfebbfee18ae4f5a28f1 (diff)
Fix bubble reordering issue
This change ensures that the deferred reordering action always runs at the end of the gesture. We started deferring reordering actions to avoid breaking drag gestures. But tapping on the selected bubble to collapse the stack is considered a gesture as well. Previously the reorder action did not get run in that case, because the specific touch listener that runs it ignores touch events during animations. Fixes: 323310200 Test: Manual - Create 2 bubbles - Expand stack - Tap on second bubble - Tap on the second bubble again to collapse the stack - Observe that the second bubble is showing in the collapsed state Test: Manual -- also checked that dragging isn't broken when a new bubble is added Change-Id: I4bfcff7e23e7ee3f4304a28cac4a9ba6e10cee16 (cherry picked from commit 1487b7cb2c86271ff2d190ab69e7907232981284)
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions