commit | 3e29b54e5a63add2e161e98a34a6312327a9b66f | [log] [tgz] |
---|---|---|
author | Julia Reynolds <juliacr@google.com> | Mon Aug 24 15:07:13 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Aug 24 15:07:13 2020 +0000 |
tree | 5666bb8f2cc1db460321ef23eb377b92f16f0d4f | |
parent | b3cbdbdffcc9c1761fc66212799661b6b1f8454e [diff] | |
parent | 4cf561d2c320ba5ce73297ab952d6a8671cb84ce [diff] |
Merge "Fix pending intent links" into rvc-qpr-dev
diff --git a/src/com/android/settings/notification/history/NotificationSbnViewHolder.java b/src/com/android/settings/notification/history/NotificationSbnViewHolder.java index de12847..ac39f88 100644 --- a/src/com/android/settings/notification/history/NotificationSbnViewHolder.java +++ b/src/com/android/settings/notification/history/NotificationSbnViewHolder.java
@@ -108,7 +108,7 @@ : 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) {