summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-10-30 08:59:05 +0000
committer Wei Sheng Shih <wilsonshih@google.com> 2023-10-30 09:15:41 +0000
commit21c3f18d1edc670a4881bd0e8824426d7ae824e6 (patch)
treed9ba2ee35fdd972946484e506455deef4e7aa0e7 /api/api_test.go
parent2ef3c46388d6cb99889d176b2d06652daf67b5f9 (diff)
Tuning performance for back to home transition.
Basically revert 8b1aed0, shell transiiton will capture task snapshot once onTransitionReady signal send to shell, or capture in RecentsTransitionHandler#getSnapshotsForPausingTasks, so the capture action shouldn't related to display anymore, therefore doesn't need to trigger capture task snapshot during prepare transition. TaskStackChangeListeners#onTaskStackChanged shall ask RecentsModel#onTaskStackChangedBackground to load task thumbnail. Bug: 307389404 Test: open app -> back to -> enter overview -> launch app. Verify on perfetto that capture snapshot won't happen while prepare transition, and capture snapshot should only happen once. Change-Id: Ic54b95570a7e1fe832c7faa84f17b3d0de95ee97
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions