diff options
author | Steve Howard <showard@google.com> | 2010-07-21 21:22:58 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-07-21 21:22:58 -0700 |
commit | 5e43c5a6e8f94134850c7e3bc4c7f657e1579746 (patch) | |
tree | 2dea6cd4efcaf36c3e208e796179771e7294a89c /core/java/android/provider | |
parent | 1f2ec4070aa9c999d41dc50a892a896e894c5710 (diff) | |
parent | b8e07a51c1849d6894c5773a3daacedd01294218 (diff) | |
download | frameworks_base-5e43c5a6e8f94134850c7e3bc4c7f657e1579746.zip frameworks_base-5e43c5a6e8f94134850c7e3bc4c7f657e1579746.tar.gz frameworks_base-5e43c5a6e8f94134850c7e3bc4c7f657e1579746.tar.bz2 |
am b8e07a51: DL manager support for broadcasts + connectivity control
Merge commit 'b8e07a51c1849d6894c5773a3daacedd01294218' into gingerbread-plus-aosp
* commit 'b8e07a51c1849d6894c5773a3daacedd01294218':
DL manager support for broadcasts + connectivity control
Diffstat (limited to 'core/java/android/provider')
-rw-r--r-- | core/java/android/provider/Downloads.java | 29 |
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. */ |