summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-06-15 11:18:46 -0700
committerJeff Sharkey <jsharkey@android.com>2011-06-17 16:34:50 -0700
commit961024389b3782936a40a7d090d670290bb66c3c (patch)
tree7188814c93d784118a5efea428eb203418f88575 /AndroidManifest.xml
parent1fec3e68161dce11cc6995c8c3de50d6ca37f2e7 (diff)
downloadandroid_packages_providers_DownloadProvider-961024389b3782936a40a7d090d670290bb66c3c.zip
android_packages_providers_DownloadProvider-961024389b3782936a40a7d090d670290bb66c3c.tar.gz
android_packages_providers_DownloadProvider-961024389b3782936a40a7d090d670290bb66c3c.tar.bz2
Teach DownloadManager about network policy.
Now network access is determined by using getActiveNetworkInfoForUid() which uses BLOCKED to indicate that network should be rejected for the requesting UID. While download in progress, watch for any policy changes that should trigger pause. Also check NetworkInfo.isConnected() for correctness. Change-Id: I1efa79823f15ecc3fa088a6719da1b770c64b255
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d41702d..b9c551e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -53,6 +53,8 @@
<uses-permission android:name="android.permission.INSTALL_DRM" />
<uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS" />
<uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
+ <!-- TODO: replace with READ_NETWORK_POLICY permission when it exists -->
+ <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
<application android:process="android.process.media"
android:label="@string/app_label">