diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-04-28 15:55:53 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2013-04-28 15:55:53 -0700 |
commit | 64a9e6cb3628db724e04492cf207757348960eb7 (patch) | |
tree | 837df4352f82abb66bc6c97068b2c635be349e7c /src/com/android/providers | |
parent | e336af4d37af25d9261439d4ec0c153aa897dfbe (diff) | |
download | android_packages_providers_DownloadProvider-64a9e6cb3628db724e04492cf207757348960eb7.tar.gz android_packages_providers_DownloadProvider-64a9e6cb3628db724e04492cf207757348960eb7.tar.bz2 android_packages_providers_DownloadProvider-64a9e6cb3628db724e04492cf207757348960eb7.zip |
Completed downloads should clear when touched.
Bug: 8744610
Change-Id: I135a3acbc819fd725f00ba57461e21db1fe24850
Diffstat (limited to 'src/com/android/providers')
-rw-r--r-- | src/com/android/providers/downloads/DownloadNotifier.java | 1 |
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)) { |