diff options
| author | 2022-07-27 15:43:30 +0800 | |
|---|---|---|
| committer | 2022-08-04 10:32:34 +0800 | |
| commit | 6b94ca2d5f5ead527532b2a1c489c861485bacb6 (patch) | |
| tree | 7082a16f9e041a70c0471510840b08d0aa2e28ad /libs/androidfw/StringPool.cpp | |
| parent | 8a1fa447594d05619ada655192348cdfc8789c48 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions