summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/current.xml11
-rw-r--r--core/java/android/net/DownloadManager.java5
2 files changed, 16 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 4a81b42960be..54681d631fe4 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -95442,6 +95442,17 @@
visibility="public"
>
</field>
+<field name="ACTION_VIEW_DOWNLOADS"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.intent.action.VIEW_DOWNLOADS&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="COLUMN_BYTES_DOWNLOADED_SO_FAR"
type="java.lang.String"
transient="false"
diff --git a/core/java/android/net/DownloadManager.java b/core/java/android/net/DownloadManager.java
index 18e62b078ca3..1f220d2619e4 100644
--- a/core/java/android/net/DownloadManager.java
+++ b/core/java/android/net/DownloadManager.java
@@ -214,6 +214,11 @@ public class DownloadManager {
"android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED";
/**
+ * Intent action to launch an activity to display all downloads.
+ */
+ public final static String ACTION_VIEW_DOWNLOADS = "android.intent.action.VIEW_DOWNLOADS";
+
+ /**
* Intent extra included with {@link #ACTION_DOWNLOAD_COMPLETE} intents, indicating the ID (as a
* long) of the download that just completed.
*/