summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-09-09 16:13:41 -0700
committerSteve Howard <showard@google.com>2010-09-12 18:58:55 -0700
commit90fb15a7e52b1208b8d4f7518a61efb99580b5b0 (patch)
tree5539ec7c687580e233402ccc505a17fd9970e2dc /api
parent8abc9e9b9917760a63cc38a030e64f207aeef86d (diff)
downloadframeworks_base-90fb15a7e52b1208b8d4f7518a61efb99580b5b0.zip
frameworks_base-90fb15a7e52b1208b8d4f7518a61efb99580b5b0.tar.gz
frameworks_base-90fb15a7e52b1208b8d4f7518a61efb99580b5b0.tar.bz2
Support UI visibility and restarting in download manager.
First, this change adds a column to the downloads table specifying whether a download should be displayed in the system downloads UI. It adds a public method to set this parameter when requesting a download, and a hidden method to filter queries based on this paramter (such filtering could be made public later, but it's not strictly necessary right now). Second, this change adds support for restarting a completed/failed download as a hidden method on DownloadManager. Currently it only works from the download manager's process - it'll be used by the new download manager UI. Change-Id: I15eda1a6e3717d1ce947a810b25ad3540cce809e
Diffstat (limited to 'api')
-rw-r--r--api/current.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index dd83d81..977eeb6 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -96627,6 +96627,19 @@
<parameter name="title" type="java.lang.String">
</parameter>
</method>
+<method name="setVisibleInDownloadsUi"
+ return="android.net.DownloadManager.Request"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="isVisible" type="boolean">
+</parameter>
+</method>
<field name="NETWORK_MOBILE"
type="int"
transient="false"