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

Skip to content
Commit f3808afe authored by Chet Haase's avatar Chet Haase
Browse files

Handle AnimatorSet durations > MAXINT

It is possible to create an AnimatorSet with child animators
that have durations (including repeatCounts) totalling more
than MAXINT. This causes a long->int cast to fail and
starting that set to fail due to bad sorting logic.

One-liner fix to avoid auto-casting in this case.

Bug: 265674577
Test: CtsAnimatorSetTests pass, including new test
Change-Id: Ia8511f876674965e230f5f50728018b835815904
parent d572ae7f
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