diff options
author | Joshua Tsuji <tsuji@google.com> | 2020-04-02 15:54:15 -0400 |
---|---|---|
committer | Joshua Tsuji <tsuji@google.com> | 2020-04-02 16:19:44 -0400 |
commit | 601dc853d9064a0607f51faac791fac6b527d473 (patch) | |
tree | 8cf4b908f3370372bb49842dba8fa60cd9c7369d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 898dda3919918becb6c459dcc95423a8fc02e0de (diff) |
Don't sync pinned stack bounds due to onDown unless we're not animating.
This was causing PIP to be offset from the touch position if it was dragged before its animation ended.
This also fixes a bug where mAnimatingToBounds was actually empty during animations, because we were calling cancelAnimations() after setting it.
Test: fling pip, then grab it immediately and drag it
Bug: 153094531
Change-Id: Ic51e1a79e597a0cbe4b0d3e7a238f8c92d8712c0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions