From ec62bdf20cbfa709c9dea9101fe668fec315c103 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Wed, 28 Aug 2013 17:54:21 -0700 Subject: Follow stronger DocumentsProvider contract. Provides same functionality, but follows updated DocumentsProvider contract in framework. Bug: 10497206 Change-Id: Ie1f6180047ff7bad289679a14f3368238d47b1d6 --- ui/src/com/android/providers/downloads/ui/DownloadList.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui') 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(); } -- cgit v1.2.3