diff options
| author | 2024-07-19 15:03:39 -0700 | |
|---|---|---|
| committer | 2024-07-23 13:36:33 -0700 | |
| commit | 9e7ee4ab360d88d88e7ae14e0c4e223c8f899532 (patch) | |
| tree | 8b9414cdc339a3850ec9eb3053ddd5d3afb00e4f /libs/androidfw/ObbFile.cpp | |
| parent | 1c80a98dcdeb212927e4c44c31ef4f13e1f18194 (diff) | |
[flexiglass] Improved structured concurrency in SceneContainer.
In an effort to improve performance by leveraging structured
concurrency:
1. Changed Scene.destinationScenes from StateFlow to just Flow
2. Changed SceneContainer to collect only the destinationScenes of the
current scene
3. Added Scene.activate to hydrate scenes
4. Changed SceneContainer to call activate on the current scene and
cancel the one that was previously activated
5. Removed @Application CoroutineScope from scene view-model classes
that didn't need it anymore (more cleanup to come)
Bug: 354270224
Test: manually ran a smoke test on Flexiglass: can change scenes to
shade, QS, and bouncer over lockscreen, can unlock, can change to shade
and QS, and re-lock.
Flag: com.android.systemui.scene_container
Change-Id: I3dfee72630322e0cb93ac76324be9d935e3a67f1
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions