Merge "Clear animation state before dumping old views" into nyc-dev

This commit is contained in:
Jason Monk
2016-03-09 16:13:54 +00:00
committed by Android (Google) Code Review

View File

@@ -138,6 +138,7 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
firstPageBuilder.setListener(this);
// Fade in the tiles/labels as we reach the final position.
firstPageDelayedBuilder.addFloat(mQsPanel.getTileLayout(), "alpha", 0, 1);
clearAnimationState();
mAllViews.clear();
mTopFiveQs.clear();
mAllViews.add((View) mQsPanel.getTileLayout());