Completed downloads should clear when touched.
Jeff Sharkey [Sun, 28 Apr 2013 22:55:53 +0000 (15:55 -0700)]
Bug: 8744610
Change-Id: I135a3acbc819fd725f00ba57461e21db1fe24850

src/com/android/providers/downloads/DownloadNotifier.java

index 0405478..ac52eba 100644 (file)
@@ -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)) {