summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.h
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2022-06-10 15:43:14 +0800
committer wilsonshih <wilsonshih@google.com> 2022-06-10 18:51:40 +0800
commit53baa13515cc00fb8a65282878950ebfe6755a3a (patch)
tree84af783b54e66e62d82c030a542099151e7c7959 /libs/input/SpriteController.h
parent0ea4431a84563cc07479fbbadb5eef33ebc5c8e5 (diff)
Fixes a race condition when merge animation transition
When merge a TO_FRONT transition to the recents animation, onTasksAppeared will finish the recents animation, so there can be a race that the open transition for recents animation might be finish before the merge transition, which leave the merge transition become a standalone transition. To make the sequence correct, register a transition commit callback to know the merge transition has done in Shell, then goes to finish the recents animation. Bug: 235433368 Test: enable shell transitin, quick switch back/forward and verify no flicker. Change-Id: I39fc898a8922f900e1e1808f92a471749664e194
Diffstat (limited to 'libs/input/SpriteController.h')
0 files changed, 0 insertions, 0 deletions