Opening downloads also needs filename access.
Jeff Sharkey [Fri, 8 Jan 2016 16:25:22 +0000 (09:25 -0700)]
Bug: 26454235
Change-Id: I61d68f694e6460b46a56b111092094a3111c291b

src/com/android/providers/downloads/OpenHelper.java

index 4eb319c..4b051be 100644 (file)
@@ -65,6 +65,7 @@ public class OpenHelper {
         final DownloadManager downManager = (DownloadManager) context.getSystemService(
                 Context.DOWNLOAD_SERVICE);
         downManager.setAccessAllDownloads(true);
+        downManager.setAccessFilename(true);
 
         final Cursor cursor = downManager.query(new DownloadManager.Query().setFilterById(id));
         try {