Fix pending intent links am: 97894bcfb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12284872 Change-Id: I6f3333367daae87463890f7ad06de70d27b74ca7
This commit is contained in:
@@ -108,7 +108,7 @@ public class NotificationSbnViewHolder extends RecyclerView.ViewHolder {
|
|||||||
: NotificationHistoryActivity.NotificationHistoryEvent
|
: NotificationHistoryActivity.NotificationHistoryEvent
|
||||||
.NOTIFICATION_HISTORY_RECENT_ITEM_CLICK,
|
.NOTIFICATION_HISTORY_RECENT_ITEM_CLICK,
|
||||||
uid, pkg, instanceId, position);
|
uid, pkg, instanceId, position);
|
||||||
if (pi != null) {
|
if (pi != null && isPendingIntentValid) {
|
||||||
try {
|
try {
|
||||||
pi.send();
|
pi.send();
|
||||||
} catch (PendingIntent.CanceledException e) {
|
} catch (PendingIntent.CanceledException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user