summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-12-04 23:24:08 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-12-04 15:26:20 +0000
commit4d84b56ce2ccac5d35970bdd1b40e91973fb368b (patch)
tree032a33d520a9ca5f3c0eb47f52ac9ebd9c87d41c /libs/hwui/FrameInfoVisualizer.cpp
parentedb14a70781d7b044f841df9a7bcc3d1bd9efac1 (diff)
Finish recents if it was not in transition when merging
At a rare timing, the recents transition can be cut by a launching app. e.g. the initial transition becomes TO_FRONT {app TO_BACK}, which doesn't contain recents itself because it is occluded by the launching app. And the transition of launching app becomes OPEN {recents TO_BACK}. So just cancel the recents animation because recents was closing. Otherwise the animation will keep a long time because foundRecentsClosing won't be satisfied due to the the transition info of recents task is missing when the animation started. Bug: 314635969 Test: Start a new task and swipe up to enter recents at the same time. Change-Id: Ic5e028608ac4de18da286916a81506ebd418ff7d
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions