Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7e404fb2 authored by Andreas Miko's avatar Andreas Miko
Browse files

Enable and auto-convert old KTF transitions to scene container

When a collector of a transition with old KTF states listened to e.g.
AOD -> GONE in the past, the KTF state GONE won't exist in the future.
This now requires two things to happen to be able to listen to the same
transition:
1. GONE needs to be converted to UNDEFINED (AOD -> UNDEFINED)
2. Because AOD -> UNDEFINED is not conclusive (it could be also a AOD ->
Bouncer transition) you need to additionally listen/filter to scene
container and make sure Lockscreen -> Gone is in progress.

The auto-convert aspect is a convenience function to make todays
viewmodels work easily while migrating to scene container.

Test: KeyguardTransitionInteractorTest
Bug: b/330311871
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: If6032d6cb3eec498a124c204317bb96971ac74c2
parent 19db0f80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment