diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-12-13 12:58:18 -0800 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-12-13 12:58:43 -0800 |
commit | b0bb182a1b52b31ccf1ec5e0be82308ebb4857e2 (patch) | |
tree | 2f771d9f1b98ad9ea34baac87e1c7ca5bb4ca4e7 /src/com/android/providers/downloads/DownloadService.java | |
parent | 1d71eb6b347cf861c53c1bc4c18b8928528b244c (diff) | |
download | android_packages_providers_DownloadProvider-b0bb182a1b52b31ccf1ec5e0be82308ebb4857e2.tar.gz android_packages_providers_DownloadProvider-b0bb182a1b52b31ccf1ec5e0be82308ebb4857e2.tar.bz2 android_packages_providers_DownloadProvider-b0bb182a1b52b31ccf1ec5e0be82308ebb4857e2.zip |
Cancel stale notifications when starting.
Bug: 7693834
Change-Id: I5e212be321cccae0f7c76f80049c4e09f0867694
Diffstat (limited to 'src/com/android/providers/downloads/DownloadService.java')
-rw-r--r-- | src/com/android/providers/downloads/DownloadService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/providers/downloads/DownloadService.java b/src/com/android/providers/downloads/DownloadService.java index 5b767a27..b97346b2 100644 --- a/src/com/android/providers/downloads/DownloadService.java +++ b/src/com/android/providers/downloads/DownloadService.java @@ -223,6 +223,7 @@ public class DownloadService extends Service { mMediaScannerConnection = new MediaScannerConnection(); mNotifier = new DownloadNotifier(this); + mNotifier.cancelAll(); mStorageManager = StorageManager.getInstance(getApplicationContext()); updateFromProvider(); |