diff options
author | Joshua Tsuji <tsuji@google.com> | 2019-05-28 17:00:16 -0400 |
---|---|---|
committer | Joshua Tsuji <tsuji@google.com> | 2019-05-29 15:22:31 -0400 |
commit | c36ee6f4ff07154b302f16efc9e842f01fb90dfd (patch) | |
tree | 3330cc8a69fb0f93889b59ad7531d14beab68ed2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0fa7a54e3026937528c03456287d8cb23598631d (diff) |
Stability and logic fixes to PhysicsAnimationLayout to address bugs that leave Bubbles in a bad state.
- Ignore attempts to start animations from controllers that aren't the active controller.
- Use -Float.MAX_VALUE for the start velocity default, not 0, so negative velocities aren't discarded.
- Update the SpringForce's final position directly rather than using animateToFinalPosition (the latter is susceptible to race conditions if animateToFinalPosition is called again before the next animation frame, a bug in DynamicAnimation).
Test: atest SystemUITests
Fixes: 131625234
Change-Id: Ie48da88db6c241896bba17bb800a2f91ab61651e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions