diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-09-16 12:04:05 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-09-16 12:04:05 -0600 |
commit | 15471944181f34184e6c6eaf6175ed115919545c (patch) | |
tree | fe916c76f7a9e3b91836d48c8deee0f5ad79579c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | f495cf69443fa3ad5d2ca57b52ad4db386d8329d (diff) |
Use "all_downloads" instead of "my_downloads".
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, DownloadProvider now issues narrow grants
toward the owner of each download, both at device boot and when new
downloads are started.
Bug: 30537115, 30945409
Change-Id: I533125b36444877f54373d88922f2acc777e250b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions