summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Context.java
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-07-13 13:05:43 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-13 13:05:43 -0700
commit4c14a0f13fb9f5d796b505991e0178b60efbaccf (patch)
treea12e201be668c2f1c9e43294fb191159b339f5ab /core/java/android/content/Context.java
parent250fd1144f238ce40ba7c40c7ad4d77c20a44695 (diff)
parent47b46648b5a9b8c518b96db37618fc49c5e5f2d1 (diff)
downloadframeworks_base-4c14a0f13fb9f5d796b505991e0178b60efbaccf.zip
frameworks_base-4c14a0f13fb9f5d796b505991e0178b60efbaccf.tar.gz
frameworks_base-4c14a0f13fb9f5d796b505991e0178b60efbaccf.tar.bz2
am 47b46648: am b8d890eb: Merge "Initial implementation of the download manager public API." into gingerbread
Merge commit '47b46648b5a9b8c518b96db37618fc49c5e5f2d1' * commit '47b46648b5a9b8c518b96db37618fc49c5e5f2d1': Initial implementation of the download manager public API.
Diffstat (limited to 'core/java/android/content/Context.java')
-rw-r--r--core/java/android/content/Context.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 86ddee4..b49d801 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -1561,6 +1561,15 @@ public abstract class Context {
public static final String UI_MODE_SERVICE = "uimode";
/**
+ * Use with {@link #getSystemService} to retrieve a
+ * {@link android.net.DownloadManager} for requesting HTTP downloads.
+ *
+ * @see #getSystemService
+ * @hide (TODO) for now
+ */
+ public static final String DOWNLOAD_SERVICE = "download";
+
+ /**
* Determine whether the given permission is allowed for a particular
* process and user ID running in the system.
*