summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-04-30 17:16:51 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-04-30 17:16:51 -0700
commit16961cf4cab924cf8f445d2957ecce7a5d0726b9 (patch)
treed491a04ea5167d07052b71fd8cf580ab2c479c28
parent23e9fb5525aa3d16f5ec19929a8426957949e797 (diff)
parent64a9e6cb3628db724e04492cf207757348960eb7 (diff)
downloadandroid_packages_providers_DownloadProvider-16961cf4cab924cf8f445d2957ecce7a5d0726b9.tar.gz
android_packages_providers_DownloadProvider-16961cf4cab924cf8f445d2957ecce7a5d0726b9.tar.bz2
android_packages_providers_DownloadProvider-16961cf4cab924cf8f445d2957ecce7a5d0726b9.zip
am 64a9e6cb: Completed downloads should clear when touched.
* commit '64a9e6cb3628db724e04492cf207757348960eb7': Completed downloads should clear when touched.
-rw-r--r--src/com/android/providers/downloads/DownloadNotifier.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/providers/downloads/DownloadNotifier.java b/src/com/android/providers/downloads/DownloadNotifier.java
index 04054783..ac52eba2 100644
--- a/src/com/android/providers/downloads/DownloadNotifier.java
+++ b/src/com/android/providers/downloads/DownloadNotifier.java
@@ -175,6 +175,7 @@ public class DownloadNotifier {
final DownloadInfo info = cluster.iterator().next();
final Uri uri = ContentUris.withAppendedId(
Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, info.mId);
+ builder.setAutoCancel(true);
final String action;
if (Downloads.Impl.isStatusError(info.mStatus)) {