commit | 18f815a7fda64344783c8b92be7d60153c2e50e8 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri Jun 23 18:14:00 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 28 01:27:30 2023 +0000 |
tree | c79f291146c64ada167855e3e889ff532feeeb99 | |
parent | d5f28d79b33eda1b49af2240c9ea104515c370d9 [diff] |
Restore strong reference to animation runner - The remote animation factory needs to be strongly referenced since the only other reference is a weakly held one from LauncherAnimationRunner, and if a gc happens in between starting the animation and the onAnimationStart() callback, then the animation will not play. Fixes: 284106887 Test: Force a gc after creating a remote app launch animation and ensure that the runner still exists when the animation starts (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6cfe2e6cbe52f5fc9aa0eb94afaeb7679810cc13) Merged-In: I5f584451b41c666916801b8ea0cb470c7ab9fc51 Change-Id: I5f584451b41c666916801b8ea0cb470c7ab9fc51