commit | 8efa1655d95d7bf7bcd0d951494a660ad924de04 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed Jun 06 09:34:23 2018 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu Jun 07 02:12:36 2018 +0000 |
tree | 2afd9be451e3d46bb00a06fd4aea2896487db869 | |
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