summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-05-28 07:12:32 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-05-28 07:12:32 +0000
commit1ac2e0597e612d4c403ecc3f3773f9ed36f45ce3 (patch)
tree416f264e984f6d348bf034aa3eab111af2a943e9
parent99683300cd92e10df75b2a1227735753a5154379 (diff)
parent6ce29a9908d271bdfe8fedce3f43629c65bb239c (diff)
downloadandroid_packages_providers_DownloadProvider-1ac2e0597e612d4c403ecc3f3773f9ed36f45ce3.zip
android_packages_providers_DownloadProvider-1ac2e0597e612d4c403ecc3f3773f9ed36f45ce3.tar.gz
android_packages_providers_DownloadProvider-1ac2e0597e612d4c403ecc3f3773f9ed36f45ce3.tar.bz2
release-request-fca2b5ac-03eb-4055-a549-b4fc2b292b64-for-git_oc-release-4049993 snap-temp-L04900000068539456
Change-Id: I32bdf3e53412720a245c20e2790cfec3e67944d0
-rw-r--r--src/com/android/providers/downloads/DownloadStorageProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/providers/downloads/DownloadStorageProvider.java b/src/com/android/providers/downloads/DownloadStorageProvider.java
index 08a3f67..bbcb06d 100644
--- a/src/com/android/providers/downloads/DownloadStorageProvider.java
+++ b/src/com/android/providers/downloads/DownloadStorageProvider.java
@@ -122,7 +122,8 @@ public class DownloadStorageProvider extends FileSystemProvider {
final RowBuilder row = result.newRow();
row.add(Root.COLUMN_ROOT_ID, DOC_ID_ROOT);
row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_RECENTS
- | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_SEARCH);
+ | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_SEARCH
+ | Root.FLAG_SUPPORTS_IS_CHILD);
row.add(Root.COLUMN_ICON, R.mipmap.ic_launcher_download);
row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_downloads));
row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT);