Merge "Fix pending intent links" into rvc-qpr-dev

This commit is contained in:
Julia Reynolds
2020-08-24 15:07:13 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {