Skip to content
Commit f80e196f authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Execute app transition if starting window is drawn

For non-cold launch, the transition is executed after scheduling
to start/resume next activity. But for cold launch, the activity
will be started until its process is attached. Because transition
should be able to run if the starting window is drawn, it can
be executed earlier to have better response time. That may reduce
transition delay up to 40ms.

Bug: 161781889
Bug: 182836977
Test: Cold launch app with starting window. Check the trace
      that AppTransitionReady happens before attachApplication.
Test: atest CloseImeAutoOpenWindowToAppTest

Change-Id: I66b9a6ef4e14289ddbecb4971620981a9eca4afa
parent 7dfe7b74
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