From 10bf4adcf3671d99a9bc50b8d61d581ab3629b13 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 13 Dec 2013 23:24:35 -0800 Subject: Remove extra flags from pending intent for download notification as well --- src/github/daneren2005/dsub/util/Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/github/daneren2005') diff --git a/src/github/daneren2005/dsub/util/Util.java b/src/github/daneren2005/dsub/util/Util.java index ede21e52..9909d8ae 100644 --- a/src/github/daneren2005/dsub/util/Util.java +++ b/src/github/daneren2005/dsub/util/Util.java @@ -1003,7 +1003,7 @@ public final class Util { notificationIntent.putExtra(Constants.INTENT_EXTRA_NAME_DOWNLOAD, true); notificationIntent.putExtra(Constants.INTENT_EXTRA_NAME_DOWNLOAD_VIEW, true); notificationIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); - builder.setContentIntent(PendingIntent.getActivity(context, 0, notificationIntent, Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP)); + builder.setContentIntent(PendingIntent.getActivity(context, 0, notificationIntent, 0)); NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); notificationManager.notify(Constants.NOTIFICATION_ID_DOWNLOADING, builder.build()); -- cgit v1.2.3