diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java index af9d751ae545e..0612fa04d4ba4 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java @@ -2104,6 +2104,13 @@ public class ExpandableNotificationRow extends ActivatableNotificationView public void applyLaunchAnimationParams(LaunchAnimationParameters params) { if (params == null) { + // `null` params indicates the animation is over, which means we can't access + // params.getParentStartClipTopAmount() which has the value we want to restore. + // Fortunately, only NotificationShelf actually uses these values for anything other + // than this launch animation, so we can restore the value to 0 and it's right for now. + if (mNotificationParent != null) { + mNotificationParent.setClipTopAmount(0); + } return; }