Commit bae90340 authored by fgorski's avatar fgorski Committed by Commit bot

[Offline pages] Ensure that download notifications are updated after restart of Chrome

* This patch removes checks for DownloadManagementService to be initialized,
  as it might not have been right after a restart of Chrome.

BUG=641590
R=qinmin@chromium.org

Review-Url: https://codereview.chromium.org/2302423003
Cr-Commit-Position: refs/heads/master@{#416366}
parent 514c78a4
...@@ -139,7 +139,6 @@ public class OfflinePageNotificationBridge { ...@@ -139,7 +139,6 @@ public class OfflinePageNotificationBridge {
} }
private static DownloadNotifier getDownloadNotifier(Context context) { private static DownloadNotifier getDownloadNotifier(Context context) {
if (!DownloadManagerService.hasDownloadManagerService()) return null;
return DownloadManagerService.getDownloadManagerService(context).getDownloadNotifier(); return DownloadManagerService.getDownloadManagerService(context).getDownloadNotifier();
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment