diff options
Diffstat (limited to 'src/com/android/providers/downloads/DownloadService.java')
-rw-r--r-- | src/com/android/providers/downloads/DownloadService.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/com/android/providers/downloads/DownloadService.java b/src/com/android/providers/downloads/DownloadService.java index c79ecc44..8fbcf4b4 100644 --- a/src/com/android/providers/downloads/DownloadService.java +++ b/src/com/android/providers/downloads/DownloadService.java @@ -439,10 +439,7 @@ public class DownloadService extends Service { info.logVerboseInfo(); } - if (info.isReadyToStart(now)) { - info.start(now); - } - + info.startIfReady(now); return info; } @@ -466,9 +463,7 @@ public class DownloadService extends Service { mSystemFacade.cancelNotification(info.mId); } - if (info.isReadyToRestart(now)) { - info.start(now); - } + info.startIfReady(now); } /** |