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

Reduce invocation of surface placement of switching activities

This skips to perform surface placement immediately when starting
activity and reporting activity paused. Because the window of
next resuming activity should also do it by relayout.

These skip cases are relatively safe because before the transition
is ready, the visual appearance should keep the same even if without
running surface placement.

One of obvious benefit is to reduce lock contention from the systemui
when handling starting window (add window/relayout/finish drawn).

Bug: 188398125
Bug: 183665220
Bug: 187104264
Test: CtsWindowManagerDeviceTestCases

Change-Id: Ice5a47a64178cbd00ce27625a60eded2b699e9cf
parent cc0987b1
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