- 12 Oct, 2016 1 commit
-
-
Jeff Sharkey authored
Fix merge conflict into nyc-release When opening a downloaded file, enforce that the caller can actually see the requested download before clearing their identity to read internal columns. However, this means that we can no longer return the "my_downloads" paths: if those Uris were shared beyond the app that requested the download, access would be denied. Instead, we need to switch to using "all_downloads" Uris so that permission grants can be issued to third-party viewer apps. Since an app requesting a download doesn't normally have permission to "all_downloads" paths, we issue narrow grants toward the owner of each download, both at device boot and when new downloads are started. Bug: 30537115, 30945409 Change-Id: If944aada020878a91c363963728d0da9f6fae3ea (cherry picked from commit 243e6294)
-
- 31 Aug, 2016 1 commit
-
-
gitbuildkicker authored
-
- 29 Aug, 2016 1 commit
-
-
Jorge Gil authored
Check that files returned from querying DownloadManager in queryChildDocuments and queryChildDocumentsForManage still exist in External Storage. Bug: 28430547, 31108493 Change-Id: I4efe9f9ba79d41b3c3099fb96d18460880b742b5 (cherry picked from commit c45f4998c0b4f7ab44d3d2a180ca977ca2fa5ca8) (cherry picked from commit 314026d4)
-
- 27 Aug, 2016 1 commit
-
-
gitbuildkicker authored
-
- 26 Aug, 2016 10 commits
-
-
Adam Seaton authored
am: 8bec536b Change-Id: I81ea34a6f1cdaa438af6397651d7374628d44eff
-
Adam Seaton authored
am: a474af3a Change-Id: I133dc7915c5dfd0e2d70ece76c008c7b282f0bcb
-
Adam Seaton authored
am: 67773203 Change-Id: Ic4a822eadde869658a80e67cd1d06a0a45c3767c
-
Adam Seaton authored
am: b440ceb0 Change-Id: If9feec471d71fbfa05a4cf9a8633142c724b6da3
-
Adam Seaton authored
This reverts commit 8be3a92e. Change-Id: I10401d57239b868f8e3514f81a0e20486838e29c
- 22 Aug, 2016 1 commit
-
-
gitbuildkicker authored
-
- 10 Aug, 2016 1 commit
-
-
gitbuildkicker authored
-
- 09 Aug, 2016 10 commits
-
-
Jeff Sharkey authored
am: 860239d8 Change-Id: Ic62206ad61c81da00eb57679211c140ce7053032
-
Jeff Sharkey authored
am: b3ce7976 Change-Id: I539882f08289cabaaf49326fb7973d98d0323de2
-
Jeff Sharkey authored
am: ec19fe64 Change-Id: Ib82ee386c9b72a35172a4a205a72aba5d3c3134e
-
Jeff Sharkey authored
am: 8be3a92e Change-Id: I0b339abd106680e44a7e900e3eae514cf0f630c1
-
gitbuildkicker authored
- 01 Aug, 2016 1 commit
-
-
Jeff Sharkey authored
When opening a downloaded file, enforce that the caller can actually see the requested download before clearing their identity to read internal columns. Bug: 30537115 Change-Id: I01bbad7997e5e908bfb19f5d576860a24f59f295
-
- 31 Jul, 2016 1 commit
-
-
gitbuildkicker authored
-
- 28 Jul, 2016 1 commit
-
-
Jeff Sharkey authored
Only active downloads should be classified as ongoing notifications. Bug: 30065873 Change-Id: I778eafb0737c7da17216fb3012847e6a3beccde9
-
- 27 Jul, 2016 1 commit
-
-
gitbuildkicker authored
-
- 21 Jul, 2016 2 commits
-
-
gitbuildkicker authored
-
Bill Yi authored
Change-Id: Ie2553f849eaaea53c2baa2af48ca75166e6e9aa2 Auto-generated-cl: translation import
-
- 29 Jun, 2016 2 commits
-
-
The Android Automerger authored
-
Jeff Sharkey authored
When deleting a file from DownloadManager, we also reach over and clean up any scanned MediaStore entries. However, DownloadManager clients may not hold the WRITE_EXTERNAL_STORAGE permission, such as when they downloaded a file into their package-specific directories. The safest fix for now is to clear the calling identity and always clean up the MediaStore entries ourselves, since DownloadProvider always holds the required storage permission. Bug: 29777504 Change-Id: Iea8f5696410010807b118bb56e5b897c53f0e1fe
-
- 28 Jun, 2016 3 commits
-
-
Jeff Sharkey authored
am: 01dee865 Change-Id: I102eaec3fbc0997bf62aff260efabf412082a118
-
Jeff Sharkey authored
When deleting a file from DownloadManager, we also reach over and clean up any scanned MediaStore entries. However, DownloadManager clients may not hold the WRITE_EXTERNAL_STORAGE permission, such as when they downloaded a file into their package-specific directories. The safest fix for now is to clear the calling identity and always clean up the MediaStore entries ourselves, since DownloadProvider always holds the required storage permission. Bug: 29777504 Change-Id: Iea8f5696410010807b118bb56e5b897c53f0e1fe
-
The Android Automerger authored
-
- 27 Jun, 2016 1 commit
-
-
Jeff Sharkey authored
am: 3a4a3e7c Change-Id: I68e0713d8013df816eba46e99470d2a9b009e71d
-
- 25 Jun, 2016 1 commit
-
-
Jeff Sharkey authored
When deciding to kick off a media scan of a newly-downloaded file, use the latest values from InfoDelta, instead of stale values from the last database read, which may lead us to skip the scan. Bug: 29234780 Change-Id: I7ffbcdd1edb9965999b7f5f100f57a9c2933f3a5
-
- 23 Jun, 2016 1 commit
-
-
The Android Automerger authored
-