diff options
author | Winson Chung <winsonc@google.com> | 2018-06-06 09:34:23 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2018-06-07 02:12:36 +0000 |
commit | 8efa1655d95d7bf7bcd0d951494a660ad924de04 (patch) | |
tree | 2afd9be451e3d46bb00a06fd4aea2896487db869 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 65a411ac45972df266abfeab237dc818486fd3f3 (diff) |
Only use the pre-animation bounds when an animation is running and is set
- Fix issue with NaN being calculated as the saved fraction due to the wrong
bounds being used
Bug: 109841835
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests
Test: Repeatedly launch pip into fullscreen landscape app, and ensure that
the saved snapfraction is calculated correctly
Change-Id: I9b442cda636121164af1f3e66050894d06518439
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions