Chromium Code Reviews
DescriptionPass file name when downloading OMA DRM files
When downloading a OMA DRM file, currently we use Android DownloadManager
to generate the file path.
This is because the Android DM may rename the file.
However, the Android DownloadManager will by default save the file to an
internal directory, which cannot be accessed by other apps.
This CL passes the file name from native to Android DownloadManager.
So the file path generation will be determined by Chrome.
This change also fixes the problem of openning a DRM download from snackbar.
Instead of openning download home, this CL will open the Downloads app instead.
BUG=708172
TBR=dtrainor@chromium.org
Review-Url: https://codereview.chromium.org/2797003002
Cr-Commit-Position: refs/heads/master@{#461906}
(cherry picked from commit b226550dbd1834c2f7addec9d1df7d57498fb7fc)
Review-Url: https://codereview.chromium.org/2801793002 .
Cr-Commit-Position: refs/branch-heads/3029@{#589}
Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471}
Committed: https://chromium.googlesource.com/chromium/src/+/491c64631059a22f1d11a8d18985427159553a6e
Patch Set 1 #Messages
Total messages: 2 (1 generated)
|