Fixed a bug where animations were generated when closed.
Bug: 17248206 Change-Id: I4376e1eede125ade71c09b2c1cd6ae64ad617230
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user