diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 29ed97e78dcb2..981a0551fc7e2 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -1229,7 +1229,7 @@ public class Notification implements Parcelable getIcon(), title, actionIntent, // safe to alias - new Bundle(mExtras), + mExtras == null ? new Bundle() : new Bundle(mExtras), getRemoteInputs(), getAllowGeneratedReplies()); }