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

Skip to content
Commit 01ba9259 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Add androidx.core.animation dependency for better testability

Using ObjectAnimator, ValueAnimator or Interpolators from `androidx.core.animation` has the advantage of improving the testability compared to using them from `android.view.animation`. The `core-animation-testing` dependency (not included in this CL), and specifically the AnimatorTestRule (https://developer.android.com/reference/androidx/core/animation/AnimatorTestRule) allows for things such as `animatorTestRule.advanceTimeBy(500L)`. This enables us to fast forward animations and verify things that happen after an animation has ended.

Test: atest InterpolatorsAndroidXTest
Bug: 259063937
Change-Id: I196eb325e4c99dda163445e6fed84327bebecfb2
parent 5142dafc
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