summaryrefslogtreecommitdiffstats
path: root/ui/src/com
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-08-28 17:54:21 -0700
committerJeff Sharkey <jsharkey@android.com>2013-08-28 20:41:36 -0700
commitec62bdf20cbfa709c9dea9101fe668fec315c103 (patch)
tree3101ef59a9348785e8e961692c6d903794ec9fae /ui/src/com
parentfd07263f824134d4bce91a3e1d51c851894bf758 (diff)
downloadandroid_packages_providers_DownloadProvider-ec62bdf20cbfa709c9dea9101fe668fec315c103.tar.gz
android_packages_providers_DownloadProvider-ec62bdf20cbfa709c9dea9101fe668fec315c103.tar.bz2
android_packages_providers_DownloadProvider-ec62bdf20cbfa709c9dea9101fe668fec315c103.zip
Follow stronger DocumentsProvider contract.
Provides same functionality, but follows updated DocumentsProvider contract in framework. Bug: 10497206 Change-Id: Ie1f6180047ff7bad289679a14f3368238d47b1d6
Diffstat (limited to 'ui/src/com')
-rw-r--r--ui/src/com/android/providers/downloads/ui/DownloadList.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/com/android/providers/downloads/ui/DownloadList.java b/ui/src/com/android/providers/downloads/ui/DownloadList.java
index 57530474..443491a9 100644
--- a/ui/src/com/android/providers/downloads/ui/DownloadList.java
+++ b/ui/src/com/android/providers/downloads/ui/DownloadList.java
@@ -151,9 +151,9 @@ public class DownloadList extends Activity {
super.onCreate(icicle);
// Trampoline over to new management UI
- final Intent intent = new Intent(Intent.ACTION_MANAGE_DOCUMENT);
- intent.setData(DocumentsContract.buildRootUri(
- Constants.STORAGE_AUTHORITY, Constants.STORAGE_ROOT));
+ final Intent intent = new Intent(DocumentsContract.ACTION_MANAGE_DOCUMENTS);
+ intent.setData(DocumentsContract.buildDocumentUri(
+ Constants.STORAGE_AUTHORITY, Constants.STORAGE_DOC_ID_ROOT));
startActivity(intent);
finish();
}