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

Skip to content
Commit cd120883 authored by Matt Pietal's avatar Matt Pietal
Browse files

Transitions - Refactor view model

All view models were following the same pattern, so consolidate into
KeyguardTransitionAnimationFlow. This also adds support for
cancel/finish events.

Rework how tests run for this. Explicity test logic for how animation
turn into flows with KeyguardTransitionAnimationFlowTest. For the
ViewModels, don't retest this logic, simply verify that the output
stays in the expected range.

Fixes: 266680387
Test: atest
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/

Change-Id: I254d213026775e34c0852675ea14efb167271915
parent d2fe4b9e
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