summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-02 17:41:08 -0700
committerJeff Sharkey <jsharkey@android.com>2013-09-02 17:41:08 -0700
commitd311f51e57dbd9c9c98d5f363f6db4ccae3a37f4 (patch)
tree10e99ab7d554cbc8ce5ae9f300ff55dac45178aa
parentdb9020e34a49a3eedc42d67ada0ae98ee29e813f (diff)
downloadandroid_packages_providers_DownloadProvider-d311f51e57dbd9c9c98d5f363f6db4ccae3a37f4.zip
android_packages_providers_DownloadProvider-d311f51e57dbd9c9c98d5f363f6db4ccae3a37f4.tar.gz
android_packages_providers_DownloadProvider-d311f51e57dbd9c9c98d5f363f6db4ccae3a37f4.tar.bz2
Remove content flags to indicate */* support.
Bug: 10597317 Change-Id: Ia32f4ec34847680135c300dfe8fe73694da4c57a
-rw-r--r--src/com/android/providers/downloads/DownloadStorageProvider.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/providers/downloads/DownloadStorageProvider.java b/src/com/android/providers/downloads/DownloadStorageProvider.java
index bc2ec0c..87c9f5b 100644
--- a/src/com/android/providers/downloads/DownloadStorageProvider.java
+++ b/src/com/android/providers/downloads/DownloadStorageProvider.java
@@ -80,9 +80,7 @@ public class DownloadStorageProvider extends DocumentsProvider {
final RowBuilder row = result.newRow();
row.offer(Root.COLUMN_ROOT_ID, DOC_ID_ROOT);
row.offer(Root.COLUMN_ROOT_TYPE, Root.ROOT_TYPE_SHORTCUT);
- row.offer(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY | Root.FLAG_PROVIDES_AUDIO
- | Root.FLAG_PROVIDES_VIDEO | Root.FLAG_PROVIDES_IMAGES
- | Root.FLAG_SUPPORTS_RECENTS);
+ row.offer(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_RECENTS);
row.offer(Root.COLUMN_ICON, R.mipmap.ic_launcher_download);
row.offer(Root.COLUMN_TITLE, getContext().getString(R.string.root_downloads));
row.offer(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT);