Merge "Reset primary and secondary translation of mLiveTileSimulator after settling into Overview" into sc-dev am: 72d748f718

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13784321

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic35afd32f7c4815bdab907554183cb681257c837
This commit is contained in:
Tracy Zhou authored and Automerger Merge Worker committed 2021-03-05 17:48:42 +00:00
commit 78003e9ea6
1 file changed
+2
@@ -926,6 +926,8 @@ public abstract class RecentsView<T extends StatefulActivity> extends PagedView
// Since we reuse the same mLiveTileTaskViewSimulator in the RecentsView, we need
// to reset the params after it settles in Overview from swipe up so that we don't
// render with obsolete param values.
mLiveTileTaskViewSimulator.taskPrimaryTranslation.value = 0;
mLiveTileTaskViewSimulator.taskSecondaryTranslation.value = 0;
mLiveTileTaskViewSimulator.fullScreenProgress.value = 0;
mLiveTileTaskViewSimulator.recentsViewScale.value = 1;