diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-12-13 23:24:35 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-12-13 23:24:35 -0800 |
commit | 10bf4adcf3671d99a9bc50b8d61d581ab3629b13 (patch) | |
tree | 2c0c5fdaaf5861b81b4c2c212bef26a5fd5912c9 /src/github/daneren2005 | |
parent | f109c86bda4cc44cbbd4a812a1a3632781570f45 (diff) | |
download | dsub-10bf4adcf3671d99a9bc50b8d61d581ab3629b13.tar.gz dsub-10bf4adcf3671d99a9bc50b8d61d581ab3629b13.tar.bz2 dsub-10bf4adcf3671d99a9bc50b8d61d581ab3629b13.zip |
Remove extra flags from pending intent for download notification as well
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/util/Util.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |