diff options
| author | 2024-10-18 12:55:58 -0400 | |
|---|---|---|
| committer | 2024-10-21 16:58:02 -0400 | |
| commit | fd47d4bb6e9bcecdf888551313fd74863fcd862f (patch) | |
| tree | c800d04fff1775439cc1bfbf67d7b686bbcbf095 /libs/androidfw/AssetsProvider.cpp | |
| parent | 8ecf84b33bcb405610eca3717a0816ee15a1cfb0 (diff) | |
[events] move SystemAnimationState to enum, expose flow
This change is mostly mechanical; move from the @IntDef to using a bona
fide `enum class`. This makes `when` statements nicer when we attach
listeners to this newly-exposed flow.
The `animationState` flow now is an API that clients can use to track
the current animation state. This will enable us to attach view-binder
style animations to the state without needing to use the older callback
mechanism that collects `AnimatorSet`s to play them together.
Test: SystemStatusAnimationSchedulerImplTest
Test: AuthContainerViewTest
Flag: EXEMPT refactor
Bug: 364360986
Change-Id: I478d974f8525f6cc401db7c4390e0fad6b2d5090
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions