| Index: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
|
| index 0aab93fbb8d6ef026accc8848b73144b66af3eed..2bf826b235235a682baeea548f84955fc15f6098 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
|
| @@ -317,6 +317,14 @@ public class DownloadManagerService extends BroadcastReceiver implements
|
| }
|
|
|
| /**
|
| + * Called when browser activity is launched. For background resumption and cancellation, this
|
| + * will not be called.
|
| + */
|
| + public void onActivityLaunched() {
|
| + DownloadNotificationService.clearResumptionAttemptLeft();
|
| + }
|
| +
|
| + /**
|
| * Clear any pending OMA downloads by reading them from shared prefs.
|
| * TODO(qinmin): move this to a separate class.
|
| */
|
|
|