diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java index 50828e8781545..866ae03f074fb 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java @@ -1898,7 +1898,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(