Merge "Fixed a bug where animations were generated when closed." into lmp-dev

This commit is contained in:
Selim Cinek
2014-08-25 14:17:11 +00:00
committed by Android (Google) Code Review

View File

@@ -1913,7 +1913,9 @@ public class NotificationStackScrollLayout extends ViewGroup
@Override
public void onReset(ExpandableView view) {
mRequestViewResizeAnimationOnLayout = true;
if (mIsExpanded && mAnimationsEnabled) {
mRequestViewResizeAnimationOnLayout = true;
}
mStackScrollAlgorithm.onReset(view);
}