diff --git a/src/com/android/settings/notification/history/NotificationSbnViewHolder.java b/src/com/android/settings/notification/history/NotificationSbnViewHolder.java index de128472727..ac39f88def9 100644 --- a/src/com/android/settings/notification/history/NotificationSbnViewHolder.java +++ b/src/com/android/settings/notification/history/NotificationSbnViewHolder.java @@ -108,7 +108,7 @@ public class NotificationSbnViewHolder extends RecyclerView.ViewHolder { : NotificationHistoryActivity.NotificationHistoryEvent .NOTIFICATION_HISTORY_RECENT_ITEM_CLICK, uid, pkg, instanceId, position); - if (pi != null) { + if (pi != null && isPendingIntentValid) { try { pi.send(); } catch (PendingIntent.CanceledException e) {