Reset primary and secondary translation of mLiveTileSimulator after settling into Overview
Fixes: 181929353 Test: manual Change-Id: I1ca36f77f0efc32803f5128eedd21b89e2b1d2b5
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user