Fix pending intent links
Test: manual
Fixes: 154795795
Change-Id: Ia870bd0bfd90be852121b542100806cac5bac881
(cherry picked from commit 97894bcfb7)
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