Merge "Fixing flashing when animation the launch task." into nyc-dev
am: 723bca4f58
* commit '723bca4f58ec37fcf7dd4588835bb58f7c88857d':
Fixing flashing when animation the launch task.
Change-Id: I40fe7742d043640f4b6cb516352a96f0bf71281e
This commit is contained in:
@@ -1391,8 +1391,9 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
|
||||
updateLayoutAlgorithm(true /* boundScroll */);
|
||||
|
||||
// Animate all the tasks into place
|
||||
relayoutTaskViews(new AnimationProps(DEFAULT_SYNC_STACK_DURATION,
|
||||
Interpolators.FAST_OUT_SLOW_IN));
|
||||
relayoutTaskViews(mAwaitingFirstLayout
|
||||
? AnimationProps.IMMEDIATE
|
||||
: new AnimationProps(DEFAULT_SYNC_STACK_DURATION, Interpolators.FAST_OUT_SLOW_IN));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user