Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3089)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java

Issue 2798093003: Fix open paths for download ContentId work (Closed)
Patch Set: Rebased Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/download/DownloadSnackbarController.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
index 471fdd55f5dfc667f1af0fb81bb65459a6052de1..1429991378e231a912b3a253af807183c8f24a00 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
@@ -1217,6 +1217,8 @@ public class DownloadNotificationService extends Service {
ContentId id = getContentIdFromIntent(intent);
if (LegacyHelpers.isLegacyOfflinePage(id)) {
OfflinePageDownloadBridge.openDownloadedPage(id);
+ } else if (id != null) {
+ OfflineContentAggregatorNotificationBridgeUiFactory.instance().openItem(id);
}
} else {
Log.e(TAG, "Unrecognized intent action.", intent);
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/download/DownloadSnackbarController.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698