summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Andreas Miko <amiko@google.com> 2024-10-08 21:36:52 +0200
committer Andreas Miko <amiko@google.com> 2024-10-09 18:34:33 +0200
commit649c790a394823ba176466724a702a5a90a83538 (patch)
tree21cc2efd5d035ba0c9d207437225f3e07310aa07 /libs/androidfw/StringPool.cpp
parent7792e57f89113d7c510667aa7ffc44afc636dbef (diff)
Fix wildcard edges by simulating TransitionSteps in KTI
Wildcard edges are broken because they miss events in STL which in the past would have been KTF transitions. On closer inspection wildcard edges with a KTF node are not broken because all transitions leading to that edge will necessarily emit a KTF transition, even when its coming from the outside (UNDEFINED). The same can't be said for wildcard edges with STL nodes. A transition() consumer passing Edge(from=Scenes.Gone) will receive transition updates for AOD -> Scenes.Gone because KTF is involved but it will be completely unaware of Scenes.Bouncer -> Scenes.Gone which is both inconsistent and wrong. This CL fixes this by constructing a flow of simulated TransitionSteps based on STLs transition state (they never actually appear within KTF) and returns it to only this specific consumers that pass a wildcard edge with a scene. Bug: 330311871 Flag: com.android.systemui.scene_container Test: added unit tests Change-Id: I35bc1b0290108efc2280086b65870086418080a1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions