Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 21c3f18d authored by wilsonshih's avatar wilsonshih Committed by Wei Sheng Shih
Browse files

Tuning performance for back to home transition.

Basically revert 8b1aed02, 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
parent 2ef3c463
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment