diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java index 249783903c8e1..a389e2bb1ad69 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java @@ -1904,7 +1904,7 @@ public class BubbleStackView extends FrameLayout AnimatableScaleMatrix.getAnimatableValueForScaleFactor(1f), mScaleInSpringConfig) .addUpdateListener((target, values) -> { - if (mExpandedBubble.getIconView() == null) { + if (mExpandedBubble == null || mExpandedBubble.getIconView() == null) { return; } mExpandedViewContainerMatrix.postTranslate(