From 64a9e6cb3628db724e04492cf207757348960eb7 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Sun, 28 Apr 2013 15:55:53 -0700 Subject: Completed downloads should clear when touched. Bug: 8744610 Change-Id: I135a3acbc819fd725f00ba57461e21db1fe24850 --- src/com/android/providers/downloads/DownloadNotifier.java | 1 + 1 file changed, 1 insertion(+) 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)) { -- cgit v1.2.3