Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72d748f7 authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Reset primary and secondary translation of mLiveTileSimulator after...

Merge "Reset primary and secondary translation of mLiveTileSimulator after settling into Overview" into sc-dev
parents bd16cc3c e2dc985f
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -926,6 +926,8 @@ public abstract class RecentsView<T extends StatefulActivity> extends PagedView
            // Since we reuse the same mLiveTileTaskViewSimulator in the RecentsView, we need
            // 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
            // to reset the params after it settles in Overview from swipe up so that we don't
            // render with obsolete param values.
            // render with obsolete param values.
            mLiveTileTaskViewSimulator.taskPrimaryTranslation.value = 0;
            mLiveTileTaskViewSimulator.taskSecondaryTranslation.value = 0;
            mLiveTileTaskViewSimulator.fullScreenProgress.value = 0;
            mLiveTileTaskViewSimulator.fullScreenProgress.value = 0;
            mLiveTileTaskViewSimulator.recentsViewScale.value = 1;
            mLiveTileTaskViewSimulator.recentsViewScale.value = 1;