Clear animation state before dumping old views
Make sure we leave any views we aren't continuing to control in a bad state. Bug: 27560770 Change-Id: I0e5174bc7f93f73c4e5eb5711bb85845b7cd8c92
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user