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:
Winson
2016-05-12 23:33:36 +00:00
committed by android-build-merger

View File

@@ -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));
}
/**