Index: chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java b/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java |
index db02e0f0c038481d0cf9e81fc425b7564cd33ff7..1592ccaf77440e5d52ff8b1e8441a9b65182d48b 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java |
@@ -330,6 +330,8 @@ public abstract class DownloadHistoryItemWrapper extends TimedItem { |
} |
if (DownloadUtils.openFile(getFile(), getMimeType(), isOffTheRecord())) { |
+ mBackendProvider.getDownloadDelegate().updateLastAccessTime( |
+ mItem.getId(), System.currentTimeMillis(), isOffTheRecord()); |
recordOpenSuccess(); |
} else { |
recordOpenFailure(); |