Merge "Fix pending intent links" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3e29b54e5a
@@ -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