Reduce surface placement of sync group
1. setReady may be called multiples times from WindowOrganizerController#startTransition and DisplayContent#executeAppTransition. If the state is the same, there is no need to request traversal. 2. When collecting a change if the group is not ready, the visibility, config, lifecycle events and setReady=true will trigger traversal as well. Bug: 260059642 Test: atest SyncEngineTests Test: Start next activity and finish current activity. The slice of trace "finishActivity" should not contain "performSurfacePlacement". Change-Id: I8cc0c70bb8c2da504cc53379ea107c13d8bdd197
Loading
Please register or sign in to comment