| Index: chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java b/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java
|
| index b5016400ce57b929d9e76e06997266a0e1f8c148..0b85862002cdfc88bfb8d891f88530a6aa9fa09c 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java
|
| @@ -114,11 +114,6 @@ public class SystemDownloadNotifier implements DownloadNotifier, Observer {
|
| void handlePendingNotifications() {
|
| if (mPendingNotifications.isEmpty()) return;
|
| for (int i = 0; i < mPendingNotifications.size(); i++) {
|
| - // If we lose the service mid-loop retrigger the service load and quit.
|
| - if (mBoundService == null) {
|
| - startAndBindToServiceIfNeeded();
|
| - return;
|
| - }
|
| updateDownloadNotification(
|
| mPendingNotifications.get(i), i == mPendingNotifications.size() - 1);
|
| }
|
| @@ -159,11 +154,6 @@ public class SystemDownloadNotifier implements DownloadNotifier, Observer {
|
| }
|
|
|
| @Override
|
| - public void onServiceShutdownRequested() {
|
| - unbindServiceIfNeeded();
|
| - }
|
| -
|
| - @Override
|
| public void onDownloadCanceled(ContentId id) {
|
| mActiveDownloads.remove(id.id);
|
| if (mActiveDownloads.isEmpty()) unbindServiceIfNeeded();
|
|
|