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
Review-Url: https://codereview.chromium.org/2797003002
Cr-Commit-Position: refs/heads/master@{#461906}
Committed: https://chromium.googlesource.com/chromium/src/+/b226550dbd1834c2f7addec9d1df7d57498fb7fc
Patch Set 1 #
Total comments: 2
Patch Set 2 : nit #Messages
Total messages: 10 (5 generated)
|