diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java index 1469d73cf4720..ce1779531ebce 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -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); }