Remove chmod(0644) for finished downloads.
authorJeff Sharkey <jsharkey@android.com>
Mon, 21 Mar 2016 23:12:39 +0000 (17:12 -0600)
committerJeff Sharkey <jsharkey@android.com>
Mon, 21 Mar 2016 23:12:52 +0000 (17:12 -0600)
commita013d5b1a3a66297ea9471767fcbfef7f6ba4d69
tree3624a684925f856c67695e7488ee5c1a2898c20a
parent5f46b22b67c83305bc330e9c24f6afaeba05a832
Remove chmod(0644) for finished downloads.

Now that PackageInstaller can read APKs from content:// Uris, we
don't need to make downloads world-readable.  This is mostly just
cleanup, since our top-level private data directory is no longer
o+x, so other apps can't traverse in anyway.

Bug: 5464052
Change-Id: I45de6a40c28b85c64d5afbc13068fe3ae8341d93
src/com/android/providers/downloads/DownloadThread.java