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
Loading
Please register or sign in to comment