diff options
| author | 2024-05-03 04:30:52 +0200 | |
|---|---|---|
| committer | 2024-05-16 13:12:45 +0200 | |
| commit | 7e404fb2847e93ff1f935a13e3f76c8e9c85e948 (patch) | |
| tree | 7e6e933c5093b93a7da2e2b3c99d0ef9052a7663 /libs/androidfw/AssetsProvider.cpp | |
| parent | 19db0f80344a0997661c0c2bdffd6cf62879fdaa (diff) | |
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions