summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-07-21 21:27:02 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-21 21:27:02 -0700
commita265083890cf67b35e432506e81fb90e7cf2bff8 (patch)
tree3bd6d71baf4130e1a44582e58fcd9bfbc10d485d /core/java/android/provider
parent5c49ec30b57a18ac022601473c9524f40554c9cf (diff)
parent5e43c5a6e8f94134850c7e3bc4c7f657e1579746 (diff)
downloadframeworks_base-a265083890cf67b35e432506e81fb90e7cf2bff8.zip
frameworks_base-a265083890cf67b35e432506e81fb90e7cf2bff8.tar.gz
frameworks_base-a265083890cf67b35e432506e81fb90e7cf2bff8.tar.bz2
am 5e43c5a6: am b8e07a51: DL manager support for broadcasts + connectivity control
Merge commit '5e43c5a6e8f94134850c7e3bc4c7f657e1579746' * commit '5e43c5a6e8f94134850c7e3bc4c7f657e1579746': DL manager support for broadcasts + connectivity control
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Downloads.java29
1 files changed, 24 insertions, 5 deletions
diff --git a/core/java/android/provider/Downloads.java b/core/java/android/provider/Downloads.java
index 2a612fe..01db979 100644
--- a/core/java/android/provider/Downloads.java
+++ b/core/java/android/provider/Downloads.java
@@ -17,11 +17,6 @@
package android.provider;
import android.net.Uri;
-import android.content.ContentUris;
-import android.content.ContentValues;
-import android.content.Context;
-
-import java.io.File;
/**
* The Download Manager
@@ -856,6 +851,30 @@ public final class Downloads {
*/
public static final String COLUMN_DESCRIPTION = "description";
+ /**
+ * The name of the column indicating whether the download was requesting through the public
+ * API. This controls some differences in behavior.
+ * <P>Type: BOOLEAN</P>
+ * <P>Owner can Init/Read</P>
+ */
+ public static final String COLUMN_IS_PUBLIC_API = "is_public_api";
+
+ /**
+ * The name of the column indicating whether roaming connections can be used. This is only
+ * used for public API downloads.
+ * <P>Type: BOOLEAN</P>
+ * <P>Owner can Init/Read</P>
+ */
+ public static final String COLUMN_ALLOW_ROAMING = "allow_roaming";
+
+ /**
+ * The name of the column holding a bitmask of allowed network types. This is only used for
+ * public API downloads.
+ * <P>Type: INTEGER</P>
+ * <P>Owner can Init/Read</P>
+ */
+ public static final String COLUMN_ALLOWED_NETWORK_TYPES = "allowed_network_types";
+
/*
* Lists the destinations that an application can specify for a download.
*/