diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java index 1539584d82b3..9a11b965b319 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java @@ -472,7 +472,8 @@ public class BubbleStackView extends FrameLayout implements BubbleTouchHandler.F @Override public void onActivityViewDestroyed(ActivityView view) { - NotificationEntry entry = mExpandedBubble.getEntry(); + NotificationEntry entry = mExpandedBubble != null + ? mExpandedBubble.getEntry() : null; Log.d(TAG, "onActivityViewDestroyed(key=" + ((entry != null) ? entry.key : "(none)") + "): " + view); } |