This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the code to handle auto open after download completes
If a pdf is downloaded by android DownloadManager, it could be opened after download completes. However, for downloads that are handled by chrome, we don't do that even if there are user gestures. In this change: 1. For download handled by Chrome, Move the download completion handling out of DownloadNotifier. The DownloadNotifier should only talk to notification manager, and should not talk to DownloadManager. 2. For all downloads(chrome or DownloadManager), use the same logic to determine if they should be auto opened BUG=478304 Review URL: https://codereview.chromium.org/1267593002 Cr-Commit-Position: refs/heads/master@{#341155}
- Loading branch information
qinmin
authored and
Commit bot
committed
Jul 30, 2015
1 parent
565896a
commit a2b28b8
Showing
6 changed files
with
69 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters