diff --git a/SWADroid/src/es/ugr/swad/swadroid/modules/downloads/DownloadNotification.java b/SWADroid/src/es/ugr/swad/swadroid/modules/downloads/DownloadNotification.java index aa44e221..5bccecb3 100644 --- a/SWADroid/src/es/ugr/swad/swadroid/modules/downloads/DownloadNotification.java +++ b/SWADroid/src/es/ugr/swad/swadroid/modules/downloads/DownloadNotification.java @@ -145,6 +145,7 @@ public class DownloadNotification { mNotification.setLatestEventInfo(mContext, mContentTitle, contentText, mContentIntent); //Flag_auto_cancel allows to the notification to erases itself when is clicked. mNotification.flags = Notification.FLAG_AUTO_CANCEL; + mNotification.contentIntent = mContentIntent; mNotificationManager.notify(NOTIFICATION_ID, mNotification); } @@ -166,6 +167,7 @@ public class DownloadNotification { //publish it to the status bar mNotification.setLatestEventInfo(mContext, mContentTitle, contentText, mContentIntent); mNotification.flags = Notification.FLAG_AUTO_CANCEL; + mNotification.contentIntent = mContentIntent; mNotificationManager.notify(NOTIFICATION_ID, mNotification); } /**