diff options
| author | 2024-01-04 17:27:44 +0100 | |
|---|---|---|
| committer | 2024-01-05 14:21:05 +0100 | |
| commit | 1400af07f7c5a849bf8115bb1162155b282dd890 (patch) | |
| tree | daf36ba0a61a33c432d91870899dad6cc8778e7a /libs/androidfw/FileStream.cpp | |
| parent | 79b8a00c5ff39a1a3530cbe7449e45fd01c6333f (diff) | |
Move onChangeScene and transitions to STLState (1/2)
This CL is a refactoring that moves onChangeScene and transitions
to SceneTransitionLayoutState. It also removes the
SceneTransitionLayoutState() factory to create a STLState, and replaces
it with the updateSceneTransitionLayoutState() Composable to create a
STLState from a hoisted source of truth. In ag/25812691, I'm adding a
MutableSceneTransitionLayoutState that can replace current usages of the
SceneTransitionLayoutState() factory outside composition (currently used
only in tests. This means that the tests don't compile with only this
CL and this CL will be submitted together with ag/25812691.
Note that the name updateSceneTransitionLayoutState() was chosen to be
consistent with Compose updateTransition().
Test: PlatformComposeSceneTransitionLayoutTests
Bug: 318794193
Flag: N/A
Change-Id: Ie7519ec4a3c92afb31f6c5fc58074e9d2131d2f5
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions