summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-11-14 09:04:05 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-11-14 09:06:21 +0000
commit6e2f0aaeed1f9fbb2dc0e8bfe40c80063ca09343 (patch)
treeb363755912eef1e76041b62336ee0c00b067c98b /libs/hwui/FrameInfoVisualizer.cpp
parent6595932508585d5d0618e5ba8dba696bccdec55e (diff)
Boost remote animation process earlier
Previously, the animating state of remote process is updated when the transition is ready, which means that it waits until the opening apps are drawn. Now it updates the state when requesting transition. This can benefit 2 cases: 1. Launch apps from home It can avoid flipping process scheduling group of home with top->foreground->top during transition. Because the sequence is: "home is top activity" -> "the launching app becomes top activity" -> "home is running transition animation". 2. Swipe up to return to home The activity lifecycle callbacks and the first frame of home can almost always run on big cores. Fix: 300535986 Test: atest TransitionTests#testRunningRemoteTransition Change-Id: I80bc98468a3bd0011efa996bf7a54a1e7ae7059b
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions