commit | c427e27269e52759faec858ab221358ba0c40b02 | [log] [tgz] |
---|---|---|
author | Winson <winsonc@google.com> | Thu May 12 23:33:27 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu May 12 23:33:27 2016 +0000 |
tree | 6cafeb2b65c6167aa560578ca4b1f2c3a6e24049 | |
parent | 0232243b0d761d01ba2c400b164ca241dc729986 [diff] | |
parent | 723bca4f58ec37fcf7dd4588835bb58f7c88857d [diff] |
Merge "Fixing flashing when animation the launch task." into nyc-dev am: 723bca4f58 * commit '723bca4f58ec37fcf7dd4588835bb58f7c88857d': Fixing flashing when animation the launch task. Change-Id: Ie0bc44ef777a313f653d922adb22450c7d17e63c
diff --git a/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java b/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java index 3d0de1c..1a197b6 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java +++ b/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
@@ -1391,8 +1391,9 @@ 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)); } /**