Convert TaskFragmentOrganizer callbacks to a transaction callback
Before, we have several different callbacks, such as onTaskFragmentAppeared, onTaskFragmentInfoChanged, etc. As migrating to Shell transition, we need a new model to better sync between app process, WM Core and Shell. The flow will be: 1. WM Shell startTransition with a WindowContainerTransaction 2. After apply the WCT, notify TaskFragmentOrganizerController 3. TFOrganizerController pack the TF related events into one transaction 4. TFOrganizerController call deferTransitionReady and send the transaction to the TFOrganizer in app process 5. TFOrganizer update TFs based on the transaction and apply a WCT 6. When TFOrganizerController get that WCT, call continueTransitionReady Bug: 240519866 Test: pass existing Change-Id: I110953f7b73f565a2b1299ef5c3827eaa39e84b8
Loading
Please register or sign in to comment