summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2024-07-26 14:36:44 +0200
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2024-07-29 14:50:50 +0200
commit259a4f3421a82af670596737444ce0d3efe2af01 (patch)
tree9e1a4e2942c8deb03077e53ab2569aaf02578642 /libs/androidfw/StringPool.cpp
parent830a705352c99dd926bd9c8d074bcadbd8911569 (diff)
Introduce Content, ContentKey and ContentScope (1/2)
This CL introduces the concept of "content" in STL, which is going to be the base class for scenes and overlays. Most of the code on this CL is mostly a move of the implementation of what scenes are today. This will allow to reuse most of the codes for overlays, without having to make overlays a subclass of scenes. Most of the existing APIs should still work. Most notably, SceneScope is now a simple typealias to ContentScope. I decided not to deprecate it (at least not yet) given how widespread it is. Making it a typealias of ContentScope instead of a subclass will allow existing SceneScope.foo() composables to be directly reusable in overlays. See go/sysui-stl-overlay for details about overlays. Bug: 353679003 Test: atest PlatformComposeSceneTransitionLayoutTests Flag: com.android.systemui.scene_container Change-Id: I9f84a5bd518fe0409171477dd484ee60def22d70
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions